aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2014-08-13 06:24:24 +0000
committerChris Mason <[email protected]>2014-09-17 20:38:10 +0000
commitb2efedca68c15bc6eab6cbe0756f90c3b8f23b8f (patch)
tree81d71226c36220a6961bd1488c0058da2a8bdd18 /fs/btrfs/dev-replace.c
parentbtrfs: fix memory leak when there is no more seed device (diff)
downloadkernel-b2efedca68c15bc6eab6cbe0756f90c3b8f23b8f.tar.gz
kernel-b2efedca68c15bc6eab6cbe0756f90c3b8f23b8f.zip
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions