Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jeff Layton and committed by
Jonathan Corbet
ff467342 e8686a40

+1 -1
+1 -1
Documentation/filesystems/locking.rst
··· 105 105 listxattr: no 106 106 fiemap: no 107 107 update_time: no 108 - atomic_open: exclusive 108 + atomic_open: shared (exclusive if O_CREAT is set in open flags) 109 109 tmpfile: no 110 110 ============ ============================================= 111 111