]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:02 +0000 (16:19 +0200)
[ Upstream commit 9d6647762b9c6b555bc83d97d7c93be6057a990f ]

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>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Documentation/filesystems/locking.rst

index 5833cea4a16b247fe64d134cd16afd3f733322a8..e2a27bb5dc4115e308d0c4cd1afb31fdcf50c5da 100644 (file)
@@ -446,13 +446,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