diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-03-23 02:39:40 +0300 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-03 05:44:55 +0300 |
| commit | 41a6b9e52b21544c334830bfe68fb78d6677caa0 (patch) | |
| tree | 7b9ea3db637a3e2eb27a01a759e6fe14f6ebfbd3 /net/unix/af_unix.c | |
| parent | 19a6314a997f6adde0c100ecf9224d1ab43c9603 (diff) | |
| download | linux-41a6b9e52b21544c334830bfe68fb78d6677caa0.tar.xz | |
rpc_pipe: don't overdo directory locking
Don't try to hold directories locked more than VFS requires;
lock just before getting a child to be made positive (using
simple_start_creating()) and unlock as soon as the child is
created. There's no benefit in keeping the parent locked
while populating the child - it won't stop dcache lookups anyway.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
