diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-09 22:19:53 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-04 01:07:29 +0100 |
commit | 34ba94bac938be14ffe2a639a4688b81a37d0f58 (patch) | |
tree | b679b836ce5bb3deeb2953e1795bae138c2f3c97 /fs/f2fs/super.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gee... (diff) | |
download | linux-34ba94bac938be14ffe2a639a4688b81a37d0f58.tar.xz 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.c | 1 |
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); |