]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: set sb->s_fs_info before calling parse_options()
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 7 Jun 2013 06:16:53 +0000 (14:16 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 11 Jun 2013 07:01:08 +0000 (16:01 +0900)
commite7845ed959c1563b42b56e3fe763bcaa64b4c667
tree1899d95dff9cde638d3f1d7a9b1a17546b1c531c
parentb0a33f256cfa9d679c15d3744ebf6e053c2f6364
f2fs: set sb->s_fs_info before calling parse_options()

In f2fs_fill_super(), set sb->s_fs_info before calling parse_options(), then we can get
f2fs_sb_info via F2FS_SB(sb) in parse_options().
So that the second argument "sbi" of func parse_options() is no longer needed.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c