summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2025-07-16 10:44:21 +1000
committerChristian Brauner <brauner@kernel.org>2025-07-18 11:10:41 +0200
commit7dfb0722ad0740f6fbf9bd184e3ae4ba4bc19f31 (patch)
tree08578db8f958aba7f0613071682a0a5631c6481b /lib/crypto/mpi/mpiutil.c
parent05468498cd2fc5b65e18eb80cdce8ae6ee6c9a77 (diff)
ovl: narrow locking in ovl_cleanup_whiteouts()
Rather than lock the directory for the whole operation, use ovl_lookup_upper_unlocked() and ovl_cleanup_unlocked() to take the lock only when needed. This makes way for future changes where locks are taken on individual dentries rather than the whole directory. Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: NeilBrown <neil@brown.name> Link: https://lore.kernel.org/20250716004725.1206467-11-neil@brown.name Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions