diff options
| author | NeilBrown <neil@brown.name> | 2025-07-16 03:44:32 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-07-18 12:10:43 +0300 |
| commit | fe4d3360f9cbb513be6d74bdeb154728cad5c437 (patch) | |
| tree | 945e7775f57801939d258926ba31b76c1a3f0897 /fs/overlayfs/util.c | |
| parent | ee37c3cfc5df9013dadf42919ca65510abc15632 (diff) | |
| download | linux-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.c | 2 |
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; |
