1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * locks.h 4 * 5 * Function prototypes for Userspace file locking support 6 * 7 * Copyright (C) 2002, 2004 Oracle. All rights reserved. 8 */ 9 10 #ifndef OCFS2_LOCKS_H 11 #define OCFS2_LOCKS_H 12 13 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 14 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl); 15 16 #endif /* OCFS2_LOCKS_H */ 17