summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-02-05 17:46:29 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-03-03 09:58:45 -0800
commit0c872e2dedfc09f41a5604d1c5010f800c0bd8f1 (patch)
tree2bc29f27414dc9048b1f1e6b3b88d9571ff9726d /fs/f2fs/super.c
parent3c0d84d6f1dde0a85f20957954fffb209edc55ac (diff)
downloadlinux-0c872e2dedfc09f41a5604d1c5010f800c0bd8f1.tar.bz2
f2fs: move ext_lock out of struct extent_info
Move ext_lock out of struct extent_info, then in the following patches we can use variables with struct extent_info type as a parameter to pass pure data. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index f2fe666a6ea9..4e9aad451593 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -392,7 +392,7 @@ static struct inode *f2fs_alloc_inode(struct super_block *sb)
atomic_set(&fi->dirty_pages, 0);
fi->i_current_depth = 1;
fi->i_advise = 0;
- rwlock_init(&fi->ext.ext_lock);
+ rwlock_init(&fi->ext_lock);
init_rwsem(&fi->i_sem);
INIT_RADIX_TREE(&fi->inmem_root, GFP_NOFS);
INIT_LIST_HEAD(&fi->inmem_pages);