summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorChao Yu2014-09-24 12:17:04 +0200
committerJaegeuk Kim2014-11-04 01:07:31 +0100
commitdbeacf02ebfed8161ac0b9379892262593c9a734 (patch)
tree5d4dcd8a7ea6bd0fe38d7402246f2e83dac6715d /fs/f2fs/recovery.c
parentf2fs: add a new mount option for inline dir (diff)
downloadkernel-qcow2-linux-dbeacf02ebfed8161ac0b9379892262593c9a734.tar.gz
kernel-qcow2-linux-dbeacf02ebfed8161ac0b9379892262593c9a734.tar.xz
kernel-qcow2-linux-dbeacf02ebfed8161ac0b9379892262593c9a734.zip
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;
}