summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/locks.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fs/ocfs2/locks.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fs/ocfs2/locks.h b/fs/ocfs2/locks.h
new file mode 100644
index 000000000..b52de3947
--- /dev/null
+++ b/fs/ocfs2/locks.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * locks.h
+ *
+ * Function prototypes for Userspace file locking support
+ *
+ * Copyright (C) 2002, 2004 Oracle. All rights reserved.
+ */
+
+#ifndef OCFS2_LOCKS_H
+#define OCFS2_LOCKS_H
+
+int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl);
+int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
+
+#endif /* OCFS2_LOCKS_H */