]> git.karo-electronics.de Git - linux-beck.git/commit
btrfs: rw_devices shouldn't be incremented for seed fs in btrfs_rm_dev_replace_srcdev()
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 13 Aug 2014 06:24:24 +0000 (14:24 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:10 +0000 (13:38 -0700)
commitb2efedca68c15bc6eab6cbe0756f90c3b8f23b8f
tree81d71226c36220a6961bd1488c0058da2a8bdd18
parent8bef8401a04ae1937f3330484c2d7a8c6b9b9897
btrfs: rw_devices shouldn't be incremented for seed fs in btrfs_rm_dev_replace_srcdev()

seed fs devices don't participate as rw_device, so don't increment
rw_devices when the device being handled belongs to a seed fs.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c