Skip to content
Commit 6ba0594a authored by Yangtao Li's avatar Yangtao Li Committed by Greg Kroah-Hartman
Browse files

f2fs: fix to set flush_merge opt and show noflush_merge



[ Upstream commit 967eaad1 ]

Some minor modifications to flush_merge and related parameters:

  1.The FLUSH_MERGE opt is set by default only in non-ro mode.
  2.When ro and merge are set at the same time, an error is reported.
  3.Display noflush_merge mount opt.

Suggested-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 458c15df ("f2fs: don't reset unchangable mount option in f2fs_remount()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e355972a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment