]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: atomic_open called with shared lock on non-O_CREAT open
authorJeff Layton <jlayton@kernel.org>
Wed, 30 Oct 2019 10:46:54 +0000 (06:46 -0400)
committerJonathan Corbet <corbet@lwn.net>
Thu, 7 Nov 2019 20:17:25 +0000 (13:17 -0700)
commit7cc13d9e196fe04382bff30dd287457812ccf1d1
tree6c8d9005271ed2877781c2fd78b4bd3e9b6177ae
parent3bbd7577ab74aa9bb589ffb21af7b0c5cdea3238
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>
Documentation/filesystems/locking.rst