summaryrefslogtreecommitdiff
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-09-24 14:19:10 +0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-04 03:07:32 +0300
commit622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce (patch)
treeb91404e9b6f9061fb0ab2b31cff1799bd71e7c52 /fs/f2fs/inline.c
parent201a05be9628ae58efe7638e0c7ae3937ec85273 (diff)
downloadlinux-622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce.tar.xz
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/inline.c')
-rw-r--r--fs/f2fs/inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index b3be96ba585c..1fafc8561542 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -424,7 +424,7 @@ int f2fs_convert_inline_dir(struct inode *dir, struct page *ipage,
/* clear inline dir and flag after data writeback */
zero_user_segment(ipage, INLINE_DATA_OFFSET,
INLINE_DATA_OFFSET + MAX_INLINE_DATA);
-
+ clear_inode_flag(F2FS_I(dir), FI_INLINE_DENTRY);
stat_dec_inline_inode(dir);
if (i_size_read(dir) < PAGE_CACHE_SIZE) {