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 коммит произвёл Jonathan Corbet
Родитель e8686a40a3
Коммит ff467342d3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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