]> www.infradead.org Git - users/dwmw2/linux.git/commit
f2fs: make LAZYTIME a mount option flag
authorEric Sandeen <sandeen@redhat.com>
Mon, 3 Mar 2025 17:12:15 +0000 (11:12 -0600)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Mar 2025 18:16:06 +0000 (18:16 +0000)
commit9100adf326fa246beb03a26e5b374af4a6b4047d
treeb14b0b320668d564ac0c2f012b96bd3a08ea4f02
parent7d6ee503307125b5fb30b4863d3e8ffd0d808ca4
f2fs: make LAZYTIME a mount option flag

Set LAZYTIME into sbi during parsing, and transfer it to the sb in
fill_super, so that an sb is not required during option parsing.

(Note: While lazytime is normally handled via mount flag in the vfs,
some f2fs users do expect to be able to use it as an explicit mount
option string via the mount syscall, so this option must remain.)

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/f2fs.h
fs/f2fs/super.c