summaryrefslogtreecommitdiff
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-09-24 14:17:04 +0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-04 03:07:31 +0300
commitdbeacf02ebfed8161ac0b9379892262593c9a734 (patch)
tree5d4dcd8a7ea6bd0fe38d7402246f2e83dac6715d /fs/f2fs/recovery.c
parent5efd3c6f1be9cfbc621c9445cedd159998ed3ea6 (diff)
downloadlinux-dbeacf02ebfed8161ac0b9379892262593c9a734.tar.xz
f2fs: export dir operations for inline dir
This patch exports some dir operations for inline dir, additionally introduces f2fs_drop_nlink from f2fs_delete_entry for reusing by inline dir function. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r--fs/f2fs/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index ebd013225788..843da53ed7d5 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -111,7 +111,7 @@ retry:
iput(einode);
goto out_unmap_put;
}
- f2fs_delete_entry(de, page, einode);
+ f2fs_delete_entry(de, page, dir, einode);
iput(einode);
goto retry;
}