diff options
author | NeilBrown <neil@brown.name> | 2025-07-16 10:44:22 +1000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-18 11:10:41 +0200 |
commit | 8290fb412d2f3dced1b744330d22f2d639ccdf36 (patch) | |
tree | 95cc9d19bcfd0eee6eaa52646d24e959c7174a1c /lib/crypto/mpi/mpiutil.c | |
parent | 7dfb0722ad0740f6fbf9bd184e3ae4ba4bc19f31 (diff) |
ovl: narrow locking in ovl_cleanup_index()
ovl_cleanup_index() takes a lock on the directory and then does a lookup
and possibly one of two different cleanups.
This patch narrows the locking to use the _unlocked() versions of the
lookup and one cleanup, and just takes the lock for the other cleanup.
A subsequent patch will take the lock into the cleanup.
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://lore.kernel.org/20250716004725.1206467-12-neil@brown.name
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions