aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 9b34a1b03455..404d391f3d35 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -671,7 +671,6 @@ extern spinlock_t files_lock;
671#define FL_POSIX 1 671#define FL_POSIX 1
672#define FL_FLOCK 2 672#define FL_FLOCK 2
673#define FL_ACCESS 8 /* not trying to lock, just looking */ 673#define FL_ACCESS 8 /* not trying to lock, just looking */
674#define FL_LOCKD 16 /* lock held by rpc.lockd */
675#define FL_LEASE 32 /* lease held on this file */ 674#define FL_LEASE 32 /* lease held on this file */
676#define FL_SLEEP 128 /* A blocking lock */ 675#define FL_SLEEP 128 /* A blocking lock */
677 676
@@ -735,8 +734,6 @@ struct file_lock {
735#define OFFT_OFFSET_MAX INT_LIMIT(off_t) 734#define OFFT_OFFSET_MAX INT_LIMIT(off_t)
736#endif 735#endif
737 736
738extern struct list_head file_lock_list;
739
740#include <linux/fcntl.h> 737#include <linux/fcntl.h>
741 738
742extern int fcntl_getlk(struct file *, struct flock __user *); 739extern int fcntl_getlk(struct file *, struct flock __user *);
@@ -758,10 +755,9 @@ extern void locks_init_lock(struct file_lock *);
758extern void locks_copy_lock(struct file_lock *, struct file_lock *); 755extern void locks_copy_lock(struct file_lock *, struct file_lock *);
759extern void locks_remove_posix(struct file *, fl_owner_t); 756extern void locks_remove_posix(struct file *, fl_owner_t);
760extern void locks_remove_flock(struct file *); 757extern void locks_remove_flock(struct file *);
761extern struct file_lock *posix_test_lock(struct file *, struct file_lock *); 758extern int posix_test_lock(struct file *, struct file_lock *, struct file_lock *);
762extern int posix_lock_file(struct file *, struct file_lock *); 759extern int posix_lock_file(struct file *, struct file_lock *);
763extern int posix_lock_file_wait(struct file *, struct file_lock *); 760extern int posix_lock_file_wait(struct file *, struct file_lock *);
764extern void posix_block_lock(struct file_lock *, struct file_lock *);
765extern int posix_unblock_lock(struct file *, struct file_lock *); 761extern int posix_unblock_lock(struct file *, struct file_lock *);
766extern int posix_locks_deadlock(struct file_lock *, struct file_lock *); 762extern int posix_locks_deadlock(struct file_lock *, struct file_lock *);
767extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl); 763extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
@@ -1090,6 +1086,7 @@ struct super_operations {
1090 void (*umount_begin) (struct super_block *); 1086 void (*umount_begin) (struct super_block *);
1091 1087
1092 int (*show_options)(struct seq_file *, struct vfsmount *); 1088 int (*show_options)(struct seq_file *, struct vfsmount *);
1089 int (*show_stats)(struct seq_file *, struct vfsmount *);
1093 1090
1094 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t); 1091 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
1095 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t); 1092 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);