]> www.infradead.org Git - users/dwmw2/linux.git/commit
f2fs: pass sbi rather than sb to parse_options()
authorEric Sandeen <sandeen@redhat.com>
Mon, 3 Mar 2025 17:12:19 +0000 (11:12 -0600)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Mar 2025 18:16:07 +0000 (18:16 +0000)
commit71e9bd3d5c04c19ef80d0bb33bf7ff1a2f0eeafb
tree2c6df0435f275fcabea121aa75fb7b30f4b938bb
parentb7de231b9df4eafc87ec693312c8889fc20f4e55
f2fs: pass sbi rather than sb to parse_options()

With the new mount API the sb will not be available during initial option
parsing, which will happen before fill_super reads sb from disk.

Now that the sb is no longer directly referenced in parse_options, switch
it to use sbi.

(Note that all calls to f2fs_sb_has_* originating from parse_options will
need to be deferred to later before we can use the new mount API.)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c