]> 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)
commit39e5ae49f0582e01d445feb11c404ba5b2bbaca1
tree1481318375cd77421e667af2dea34e5957300504
parent21b88cdf4a61461cede91776062d6e1ca7b86d19
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