Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a848b3e5 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: no need to check for btrfs_fs_devices::seeding



There is no need to check for btrfs_fs_devices::seeding when we
have checked for btrfs_fs_devices::opened, because we can't sprout
without its seed FS being opened.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent b03ebd99
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -618,8 +618,6 @@ static void btrfs_free_stale_device(struct btrfs_device *cur_dev)

		if (fs_devs->opened)
			continue;
		if (fs_devs->seeding)
			continue;

		list_for_each_entry(dev, &fs_devs->devices, dev_list) {