summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/porting
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-04-29 01:35:16 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-03 01:51:17 +0200
commit9cf843e3f47c41440367062e92ab32e59ecb6a87 (patch)
treec661c0dde1141aee43d8d406bd573d4ffcaafa95 /Documentation/filesystems/porting
parentlookup_open(): put the dentry fed to ->lookup() or ->atomic_open() into in-lo... (diff)
downloadlinux-9cf843e3f47c41440367062e92ab32e59ecb6a87.tar.xz
linux-9cf843e3f47c41440367062e92ab32e59ecb6a87.zip
lookup_open(): lock the parent shared unless O_CREAT is given
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/porting')
-rw-r--r--Documentation/filesystems/porting3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index 12c57abdaac9..46f3bb7a02f5 100644
--- a/Documentation/filesystems/porting
+++ b/Documentation/filesystems/porting
@@ -575,3 +575,6 @@ in your dentry operations instead.
Old method is only used if the new one is absent; eventually it will
be removed. Switch while you still can; the old one won't stay.
+--
+[mandatory]
+ ->atomic_open() calls without O_CREAT may happen in parallel.