aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-10-30 06:46:54 -0400
committerJonathan Corbet <corbet@lwn.net>2019-11-07 13:17:25 -0700
commitff467342d3090350b3b5aa6885d6a55fbb1d0c35 (patch)
tree6c8d9005271ed2877781c2fd78b4bd3e9b6177ae /Documentation/filesystems
parentdocs: process: Add base-commit trailer usage (diff)
downloadlinux-dev-ff467342d3090350b3b5aa6885d6a55fbb1d0c35.tar.xz
linux-dev-ff467342d3090350b3b5aa6885d6a55fbb1d0c35.zip
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.rst2
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
============ =============================================