]> asedeno.scripts.mit.edu Git - linux.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)
commitff467342d3090350b3b5aa6885d6a55fbb1d0c35
tree6c8d9005271ed2877781c2fd78b4bd3e9b6177ae
parente8686a40a32aee572b87552b0835922a1e47bd87
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