diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-09-24 18:19:10 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-03 16:07:32 -0800 |
commit | 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce (patch) | |
tree | b91404e9b6f9061fb0ab2b31cff1799bd71e7c52 /fs/f2fs/recovery.c | |
parent | 201a05be9628ae58efe7638e0c7ae3937ec85273 (diff) | |
download | blackbird-op-linux-622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce.tar.gz blackbird-op-linux-622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce.zip |
f2fs: enable inline dir handling
Add inline dir functions into normal dir ops' function to handle inline ops.
Besides, we enable inline dir mode when a new dir inode is created if
inline_data option is on.
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 843da53ed7d5..4b180bbc3a21 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -129,7 +129,8 @@ retry: goto out; out_unmap_put: - kunmap(page); + if (!f2fs_has_inline_dentry(dir)) + kunmap(page); f2fs_put_page(page, 0); out_err: iput(dir); |