summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-10-09 13:19:53 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-03 16:07:29 -0800
commit34ba94bac938be14ffe2a639a4688b81a37d0f58 (patch)
treeb679b836ce5bb3deeb2953e1795bae138c2f3c97 /fs/f2fs/super.c
parentf4ca536f71ad69d9a974d0156d43b24b3f3112de (diff)
downloadblackbird-op-linux-34ba94bac938be14ffe2a639a4688b81a37d0f58.tar.gz
blackbird-op-linux-34ba94bac938be14ffe2a639a4688b81a37d0f58.zip
f2fs: do not make dirty any inmemory pages
This patch let inmemory pages be clean all the time. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 41d6f700f4ee..76b14c8c7e16 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -373,6 +373,7 @@ static struct inode *f2fs_alloc_inode(struct super_block *sb)
fi->i_advise = 0;
rwlock_init(&fi->ext.ext_lock);
init_rwsem(&fi->i_sem);
+ INIT_RADIX_TREE(&fi->inmem_root, GFP_NOFS);
INIT_LIST_HEAD(&fi->inmem_pages);
mutex_init(&fi->inmem_lock);
OpenPOWER on IntegriCloud