diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-03-22 19:39:40 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-02 22:44:55 -0400 |
| commit | 41a6b9e52b21544c334830bfe68fb78d6677caa0 (patch) | |
| tree | 7b9ea3db637a3e2eb27a01a759e6fe14f6ebfbd3 /rust/helpers/helpers.c | |
| parent | rpc_mkpipe_dentry(): saner calling conventions (diff) | |
| download | linux-41a6b9e52b21544c334830bfe68fb78d6677caa0.tar.gz linux-41a6b9e52b21544c334830bfe68fb78d6677caa0.zip | |
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
