summaryrefslogtreecommitdiff
path: root/fs/overlayfs/util.c
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2025-07-16 03:44:32 +0300
committerChristian Brauner <brauner@kernel.org>2025-07-18 12:10:43 +0300
commitfe4d3360f9cbb513be6d74bdeb154728cad5c437 (patch)
tree945e7775f57801939d258926ba31b76c1a3f0897 /fs/overlayfs/util.c
parentee37c3cfc5df9013dadf42919ca65510abc15632 (diff)
downloadlinux-fe4d3360f9cbb513be6d74bdeb154728cad5c437.tar.xz
ovl: rename ovl_cleanup_unlocked() to ovl_cleanup()
The only remaining user of ovl_cleanup() is ovl_cleanup_locked(), so we no longer need both. This patch renames ovl_cleanup() to ovl_cleanup_locked() and makes it static. ovl_cleanup_unlocked() is renamed to ovl_cleanup(). Signed-off-by: NeilBrown <neil@brown.name> Link: https://lore.kernel.org/20250716004725.1206467-22-neil@brown.name Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/overlayfs/util.c')
-rw-r--r--fs/overlayfs/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/util.c b/fs/overlayfs/util.c
index a63fda9ef6fd..71674b633bc4 100644
--- a/fs/overlayfs/util.c
+++ b/fs/overlayfs/util.c
@@ -1123,7 +1123,7 @@ static void ovl_cleanup_index(struct dentry *dentry)
indexdir, index);
} else {
/* Cleanup orphan index entries */
- err = ovl_cleanup_unlocked(ofs, indexdir, index);
+ err = ovl_cleanup(ofs, indexdir, index);
}
if (err)
goto fail;