aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDai Ngo <dai.ngo@oracle.com>2022-02-12 10:12:52 -0800
committerChuck Lever <chuck.lever@oracle.com>2022-03-11 10:25:16 -0500
commit9d6647762b9c6b555bc83d97d7c93be6057a990f (patch)
treeb26de18b8d35ca956100345fc27dc5a1f6f3119f
parentNFSD: Fix nfsd_breaker_owns_lease() return values (diff)
downloadlinux-dev-9d6647762b9c6b555bc83d97d7c93be6057a990f.tar.xz
linux-dev-9d6647762b9c6b555bc83d97d7c93be6057a990f.zip
fs/lock: documentation cleanup. Replace inode->i_lock with flc_lock.
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>
-rw-r--r--Documentation/filesystems/locking.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst
index 3f9b1497ebb8..aaca0b601819 100644
--- a/Documentation/filesystems/locking.rst
+++ b/Documentation/filesystems/locking.rst
@@ -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