]> git.hungrycats.org Git - linux/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)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Wed, 3 Dec 2014 15:16:21 +0000 (10:16 -0500)
commit232861191e6998e24e4f4e28c161e67c58f84b82
tree656b2112f71850cbeefe4bb0ece034c2b4501888
parent714d45d8ffd17e560d82d99cba76047a053fe161
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>
(cherry picked from commit 17a9be2f28595945ec9bfac0dd15b86891c1f1de)
fs/btrfs/scrub.c