diff options
| author | Al Viro <[email protected]> | 2025-03-22 23:39:40 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-07-03 02:44:55 +0000 |
| commit | 41a6b9e52b21544c334830bfe68fb78d6677caa0 (patch) | |
| tree | 7b9ea3db637a3e2eb27a01a759e6fe14f6ebfbd3 /rust/helpers/platform.c | |
| parent | rpc_mkpipe_dentry(): saner calling conventions (diff) | |
| download | kernel-41a6b9e52b21544c334830bfe68fb78d6677caa0.tar.gz kernel-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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
