diff options
author | NeilBrown <neil@brown.name> | 2025-07-16 10:44:30 +1000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-18 11:10:43 +0200 |
commit | 09d56cc88c247036da5756fd552f2cb2af8d8c5e (patch) | |
tree | ec1b1d3e5d28c55566ada68bdcd2398460062dfb /lib | |
parent | 8afa0a736713898f04d52abad69c07caa2c2f227 (diff) |
ovl: narrow locking in ovl_check_rename_whiteout()
ovl_check_rename_whiteout() now only holds the directory lock when
needed, and takes it again if necessary.
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-20-neil@brown.name
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions