ovl: narrow locking in ovl_create_over_whiteout()
Unlock the parents immediately after the rename, and use ovl_cleanup_unlocked() for cleanup, which takes a separate lock. 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-8-neil@brown.name Signed-off-by:
Christian Brauner <brauner@kernel.org>
Loading
Please sign in to comment