diff options
author | NeilBrown <neil@brown.name> | 2025-07-16 10:44:17 +1000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-18 11:10:41 +0200 |
commit | 4f622bd9f3e5dd1e882ee8f4194ea1d95dcf752f (patch) | |
tree | 6a242d86efae931773ff95c5a00bee5a74a93391 /lib/crypto/mpi/mpiutil.c | |
parent | a07052e07b67add56328b547ce4459878618334d (diff) |
ovl: narrow locking in ovl_clear_empty()
Drop the locks immediately after rename, and use a separate lock for
cleanup.
This makes way for future changes where locks are taken on individual
dentries rather than the whole directory.
Note that ovl_cleanup_whiteouts() operates on "upper", a child of
"upperdir" and does not require upperdir or workdir to be locked.
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://lore.kernel.org/20250716004725.1206467-7-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