diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 21e8cf795c38..5adf32b90f36 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -678,7 +678,6 @@ extern spinlock_t files_lock; | |||
678 | #define FL_POSIX 1 | 678 | #define FL_POSIX 1 |
679 | #define FL_FLOCK 2 | 679 | #define FL_FLOCK 2 |
680 | #define FL_ACCESS 8 /* not trying to lock, just looking */ | 680 | #define FL_ACCESS 8 /* not trying to lock, just looking */ |
681 | #define FL_LOCKD 16 /* lock held by rpc.lockd */ | ||
682 | #define FL_LEASE 32 /* lease held on this file */ | 681 | #define FL_LEASE 32 /* lease held on this file */ |
683 | #define FL_SLEEP 128 /* A blocking lock */ | 682 | #define FL_SLEEP 128 /* A blocking lock */ |
684 | 683 | ||
@@ -742,8 +741,6 @@ struct file_lock { | |||
742 | #define OFFT_OFFSET_MAX INT_LIMIT(off_t) | 741 | #define OFFT_OFFSET_MAX INT_LIMIT(off_t) |
743 | #endif | 742 | #endif |
744 | 743 | ||
745 | extern struct list_head file_lock_list; | ||
746 | |||
747 | #include <linux/fcntl.h> | 744 | #include <linux/fcntl.h> |
748 | 745 | ||
749 | extern int fcntl_getlk(struct file *, struct flock __user *); | 746 | extern int fcntl_getlk(struct file *, struct flock __user *); |
@@ -765,10 +762,9 @@ extern void locks_init_lock(struct file_lock *); | |||
765 | extern void locks_copy_lock(struct file_lock *, struct file_lock *); | 762 | extern void locks_copy_lock(struct file_lock *, struct file_lock *); |
766 | extern void locks_remove_posix(struct file *, fl_owner_t); | 763 | extern void locks_remove_posix(struct file *, fl_owner_t); |
767 | extern void locks_remove_flock(struct file *); | 764 | extern void locks_remove_flock(struct file *); |
768 | extern struct file_lock *posix_test_lock(struct file *, struct file_lock *); | 765 | extern int posix_test_lock(struct file *, struct file_lock *, struct file_lock *); |
769 | extern int posix_lock_file(struct file *, struct file_lock *); | 766 | extern int posix_lock_file(struct file *, struct file_lock *); |
770 | extern int posix_lock_file_wait(struct file *, struct file_lock *); | 767 | extern int posix_lock_file_wait(struct file *, struct file_lock *); |
771 | extern void posix_block_lock(struct file_lock *, struct file_lock *); | ||
772 | extern int posix_unblock_lock(struct file *, struct file_lock *); | 768 | extern int posix_unblock_lock(struct file *, struct file_lock *); |
773 | extern int posix_locks_deadlock(struct file_lock *, struct file_lock *); | 769 | extern int posix_locks_deadlock(struct file_lock *, struct file_lock *); |
774 | extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl); | 770 | extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl); |
@@ -1097,6 +1093,7 @@ struct super_operations { | |||
1097 | void (*umount_begin) (struct super_block *); | 1093 | void (*umount_begin) (struct super_block *); |
1098 | 1094 | ||
1099 | int (*show_options)(struct seq_file *, struct vfsmount *); | 1095 | int (*show_options)(struct seq_file *, struct vfsmount *); |
1096 | int (*show_stats)(struct seq_file *, struct vfsmount *); | ||
1100 | 1097 | ||
1101 | ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t); | 1098 | ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t); |
1102 | ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t); | 1099 | ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t); |