]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix wrong fsid check of scrub
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 24 Jul 2014 03:37:08 +0000 (11:37 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:43 +0000 (13:37 -0700)
commitdd9af5ad4d057b9e5faa2dce75652380205a2011
tree6d7e96a2a34af75da646b0dd4cd32e5882f60b9d
parent55b4d9e4c43a2fb36faf7cf3ae8240d1476bbc93
Btrfs: fix wrong fsid check of scrub

All the metadata in the seed devices has the same fsid as the fsid
of the seed filesystem which is on the seed device, so we should check
them by the current filesystem. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c