fs/lock: documentation cleanup. Replace inode->i_lock with flc_lock.
authorDai Ngo <dai.ngo@oracle.com>
Sat, 12 Feb 2022 18:12:52 +0000 (10:12 -0800)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 11 Mar 2022 15:25:16 +0000 (10:25 -0500)
Update lock usage of lock_manager_operations' functions to reflect
the changes in commit 6109c85037e5 ("locks: add a dedicated spinlock
to protect i_flctx lists").

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Documentation/filesystems/locking.rst

index 3f9b149..aaca0b6 100644 (file)
@@ -438,13 +438,13 @@ prototypes::
 locking rules:
 
 ====================== =============   =================       =========
-ops                    inode->i_lock   blocked_lock_lock       may block
+ops                       flc_lock     blocked_lock_lock       may block
 ====================== =============   =================       =========
-lm_notify:             yes             yes                     no
+lm_notify:             no              yes                     no
 lm_grant:              no              no                      no
 lm_break:              yes             no                      no
 lm_change              yes             no                      no
-lm_breaker_owns_lease: no              no                      no
+lm_breaker_owns_lease: yes             no                      no
 ====================== =============   =================       =========
 
 buffer_head