diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-08-12 10:38:07 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@primarydata.com> | 2014-08-14 10:08:20 -0400 |
commit | 2ece173e4715031c031de9114491eee80a69cf68 (patch) | |
tree | ae7ecd55bbe5e69667b3771ed529f7e5867a3bea /Documentation/filesystems/Locking | |
parent | 2dfb928f7e5977a3faac943c134bbda5ae492629 (diff) |
locks: update Locking documentation to clarify fl_release_private behavior
Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'Documentation/filesystems/Locking')
-rw-r--r-- | Documentation/filesystems/Locking | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index b18dd1779029..f1997e9da61f 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking | |||
@@ -349,7 +349,11 @@ prototypes: | |||
349 | locking rules: | 349 | locking rules: |
350 | inode->i_lock may block | 350 | inode->i_lock may block |
351 | fl_copy_lock: yes no | 351 | fl_copy_lock: yes no |
352 | fl_release_private: maybe no | 352 | fl_release_private: maybe maybe[1] |
353 | |||
354 | [1]: ->fl_release_private for flock or POSIX locks is currently allowed | ||
355 | to block. Leases however can still be freed while the i_lock is held and | ||
356 | so fl_release_private called on a lease should not block. | ||
353 | 357 | ||
354 | ----------------------- lock_manager_operations --------------------------- | 358 | ----------------------- lock_manager_operations --------------------------- |
355 | prototypes: | 359 | prototypes: |