summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-09-24 12:19:10 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-04 01:07:32 +0100
commit622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce (patch)
treeb91404e9b6f9061fb0ab2b31cff1799bd71e7c52 /fs/f2fs/inline.c
parentf2fs: add key function to handle inline dir (diff)
downloadlinux-622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce.tar.xz
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/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) {