]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] nfs4 lease: add the new lock manager callbacks to the documentation
authorWilliam A. Adamson <andros@thnk.citi.umich.edu>
Wed, 20 Oct 2004 01:45:34 +0000 (18:45 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 20 Oct 2004 01:45:34 +0000 (18:45 -0700)
Add the new lock manager callbacks to the documentation

Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/filesystems/Locking

index f1c2cee131b454e9838d942459044d3067435d74..1fd07e10c27ea81a258a9e5ab73d8dea11affed3 100644 (file)
@@ -295,13 +295,19 @@ 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 */
 
 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
 
-       Currently only NLM provides instances of this class. None of the
+       Currently only NFSD and NLM provide instances of this class. None of the
 them block. If you have out-of-tree instances - please, show up. Locking
 in that area will change.
 --------------------------- buffer_head -----------------------------------