summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-03-22 19:39:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-07-02 22:44:55 -0400
commit41a6b9e52b21544c334830bfe68fb78d6677caa0 (patch)
tree7b9ea3db637a3e2eb27a01a759e6fe14f6ebfbd3 /lib/crypto/mpi/mpiutil.c
parent19a6314a997f6adde0c100ecf9224d1ab43c9603 (diff)
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 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions