projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8686a4
)
Documentation: atomic_open called with shared lock on non-O_CREAT open
author
Jeff Layton
<jlayton@kernel.org>
Wed, 30 Oct 2019 10:46:54 +0000
(06:46 -0400)
committer
Jonathan Corbet
<corbet@lwn.net>
Thu, 7 Nov 2019 20:17:25 +0000
(13:17 -0700)
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>
Documentation/filesystems/locking.rst
patch
|
blob
|
history
diff --git
a/Documentation/filesystems/locking.rst
b/Documentation/filesystems/locking.rst
index
fc3a070
..
5057e4d
100644
(file)
--- 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
============ =============================================