btrfs: fix memory leak when there is no more seed device
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 13 Aug 2014 06:24:23 +0000 (14:24 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:09 +0000 (13:38 -0700)
When we replace all the seed device in the system there is
no point in just keeping the btrfs_fs_devices with out
any device

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>

No differences found