]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Cleanup the btrfs_parse_options for remount.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 13 Jan 2014 05:36:07 +0000 (13:36 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:34 +0000 (13:20 -0800)
commit6be1e5ca90347ffa9af4ad6bf1a039a4a5b77c07
tree1481318375cd77421e667af2dea34e5957300504
parentef76c6d0f0fc21f6ce2ada56734880e5e4c70dc0
btrfs: Cleanup the btrfs_parse_options for remount.

Since remount will pending the new mount options to the original mount
options, which will make btrfs_parse_options check the old options then
new options, causing some stupid output like "enabling XXX" following by
"disable XXX".

This patch will add extra check before every btrfs_info to skip the
output from old options checking.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/super.c