]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/file.h
[PATCH 1/2] ocfs2: add flock lock type
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / file.h
index 066f14add3a8c2f06ad465b2d9b81011ffaf0e4b..048ddcaf5c80e9b2bb76b1e06d3f6ddb340856c8 100644 (file)
@@ -32,6 +32,12 @@ extern const struct inode_operations ocfs2_file_iops;
 extern const struct inode_operations ocfs2_special_file_iops;
 struct ocfs2_alloc_context;
 
+struct ocfs2_file_private {
+       struct file             *fp_file;
+       struct mutex            fp_mutex;
+       struct ocfs2_lock_res   fp_flock;
+};
+
 enum ocfs2_alloc_restarted {
        RESTART_NONE = 0,
        RESTART_TRANS,