summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_fs_i.h')
-rw-r--r--include/linux/nfs_fs_i.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_i.h b/include/linux/nfs_fs_i.h
new file mode 100644
index 000000000000..e9a749588a7b
--- /dev/null
+++ b/include/linux/nfs_fs_i.h
@@ -0,0 +1,25 @@
+#ifndef _NFS_FS_I
+#define _NFS_FS_I
+
+#include <asm/types.h>
+#include <linux/list.h>
+#include <linux/nfs.h>
+
+struct nlm_lockowner;
+
+/*
+ * NFS lock info
+ */
+struct nfs_lock_info {
+ u32 state;
+ u32 flags;
+ struct nlm_lockowner *owner;
+};
+
+/*
+ * Lock flag values
+ */
+#define NFS_LCK_GRANTED 0x0001 /* lock has been granted */
+#define NFS_LCK_RECLAIM 0x0002 /* lock marked for reclaiming */
+
+#endif