diff options
Diffstat (limited to 'fs/overlayfs/copy_up.c')
-rw-r--r-- | fs/overlayfs/copy_up.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c index 8f8dbe8a1d54..c4d7c281d473 100644 --- a/fs/overlayfs/copy_up.c +++ b/fs/overlayfs/copy_up.c @@ -569,7 +569,7 @@ static int ovl_create_index(struct dentry *dentry, const struct ovl_fh *fh, ovl_parent_unlock(indexdir); out: if (err) - ovl_cleanup_unlocked(ofs, indexdir, temp); + ovl_cleanup(ofs, indexdir, temp); dput(temp); free_name: kfree(name.name); @@ -854,7 +854,7 @@ out: cleanup: unlock_rename(c->workdir, c->destdir); cleanup_unlocked: - ovl_cleanup_unlocked(ofs, c->workdir, temp); + ovl_cleanup(ofs, c->workdir, temp); dput(temp); goto out; } |