diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-10-30 13:46:54 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-11-07 23:17:25 +0300 |
commit | ff467342d3090350b3b5aa6885d6a55fbb1d0c35 (patch) | |
tree | 6c8d9005271ed2877781c2fd78b4bd3e9b6177ae /Documentation/filesystems | |
parent | e8686a40a32aee572b87552b0835922a1e47bd87 (diff) | |
download | linux-ff467342d3090350b3b5aa6885d6a55fbb1d0c35.tar.xz |
Documentation: atomic_open called with shared lock on non-O_CREAT open
The exclusive lock is only held when O_CREAT is set.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/locking.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst index fc3a0704553c..5057e4d9dcd1 100644 --- a/Documentation/filesystems/locking.rst +++ b/Documentation/filesystems/locking.rst @@ -105,7 +105,7 @@ getattr: no listxattr: no fiemap: no update_time: no -atomic_open: exclusive +atomic_open: shared (exclusive if O_CREAT is set in open flags) tmpfile: no ============ ============================================= |