Documentation: atomic_open called with shared lock on non-O_CREAT open
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- Documentation/filesystems/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/locking.rst +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 ============ =============================================
Signature · 1 line
2.21.0
Quoted 12 lines · On Wed, 30 Oct 2019 06:46:54 -0400 Jeff Layton <[email protected]> wrote:
The exclusive lock is only held when
O_CREATis set.Signed-off-by Jeff Layton <[email protected]>--- Documentation/filesystems/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/filesystems/locking.rst +0
-0
Documentation/filesystems/locking.rst getattr: no · line 110
Quoted 7 lines
Documentation/filesystems/locking.rst +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 ============ =============================================
Applied, thanks.
jon