Loading Documentation/filesystems/Locking +0 −2 Original line number Diff line number Diff line Loading @@ -322,7 +322,6 @@ fl_release_private: yes yes prototypes: int (*fl_compare_owner)(struct file_lock *, struct file_lock *); void (*fl_notify)(struct file_lock *); /* unblock callback */ void (*fl_copy_lock)(struct file_lock *, struct file_lock *); void (*fl_release_private)(struct file_lock *); void (*fl_break)(struct file_lock *); /* break_lease callback */ Loading @@ -330,7 +329,6 @@ locking rules: BKL may block fl_compare_owner: yes no fl_notify: yes no fl_copy_lock: yes no fl_release_private: yes yes fl_break: yes no Loading fs/locks.c +1 −4 Original line number Diff line number Diff line Loading @@ -235,12 +235,9 @@ static void locks_copy_private(struct file_lock *new, struct file_lock *fl) fl->fl_ops->fl_copy_lock(new, fl); new->fl_ops = fl->fl_ops; } if (fl->fl_lmops) { if (fl->fl_lmops->fl_copy_lock) fl->fl_lmops->fl_copy_lock(new, fl); if (fl->fl_lmops) new->fl_lmops = fl->fl_lmops; } } /* * Initialize a new lock from an existing file_lock structure. Loading include/linux/fs.h +0 −1 Original line number Diff line number Diff line Loading @@ -1056,7 +1056,6 @@ struct lock_manager_operations { int (*fl_compare_owner)(struct file_lock *, struct file_lock *); void (*fl_notify)(struct file_lock *); /* unblock callback */ int (*fl_grant)(struct file_lock *, struct file_lock *, int); void (*fl_copy_lock)(struct file_lock *, struct file_lock *); void (*fl_release_private)(struct file_lock *); void (*fl_break)(struct file_lock *); int (*fl_mylease)(struct file_lock *, struct file_lock *); Loading Loading
Documentation/filesystems/Locking +0 −2 Original line number Diff line number Diff line Loading @@ -322,7 +322,6 @@ fl_release_private: yes yes prototypes: int (*fl_compare_owner)(struct file_lock *, struct file_lock *); void (*fl_notify)(struct file_lock *); /* unblock callback */ void (*fl_copy_lock)(struct file_lock *, struct file_lock *); void (*fl_release_private)(struct file_lock *); void (*fl_break)(struct file_lock *); /* break_lease callback */ Loading @@ -330,7 +329,6 @@ locking rules: BKL may block fl_compare_owner: yes no fl_notify: yes no fl_copy_lock: yes no fl_release_private: yes yes fl_break: yes no Loading
fs/locks.c +1 −4 Original line number Diff line number Diff line Loading @@ -235,12 +235,9 @@ static void locks_copy_private(struct file_lock *new, struct file_lock *fl) fl->fl_ops->fl_copy_lock(new, fl); new->fl_ops = fl->fl_ops; } if (fl->fl_lmops) { if (fl->fl_lmops->fl_copy_lock) fl->fl_lmops->fl_copy_lock(new, fl); if (fl->fl_lmops) new->fl_lmops = fl->fl_lmops; } } /* * Initialize a new lock from an existing file_lock structure. Loading
include/linux/fs.h +0 −1 Original line number Diff line number Diff line Loading @@ -1056,7 +1056,6 @@ struct lock_manager_operations { int (*fl_compare_owner)(struct file_lock *, struct file_lock *); void (*fl_notify)(struct file_lock *); /* unblock callback */ int (*fl_grant)(struct file_lock *, struct file_lock *, int); void (*fl_copy_lock)(struct file_lock *, struct file_lock *); void (*fl_release_private)(struct file_lock *); void (*fl_break)(struct file_lock *); int (*fl_mylease)(struct file_lock *, struct file_lock *); Loading