]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit078025347c8ed43ff330e392476d8866ac1b297f
tree1481318375cd77421e667af2dea34e5957300504
parent3818aea275423236db38a2d2d0a4951bc6da2e01
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