Commit ff467342 authored by Jeff Layton's avatar Jeff Layton Committed by Jonathan Corbet
Browse files

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: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent e8686a40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
============	=============================================