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>
This commit is contained in:
Jeff Layton 2019-10-30 06:46:54 -04:00 committed by Jonathan Corbet
parent e8686a40a3
commit ff467342d3
1 changed files with 1 additions and 1 deletions

View File

@ -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
============ =============================================