]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove alloc_list splice in btrfs_prepare_sprout
authorNikolay Borisov <nborisov@suse.com>
Wed, 12 Aug 2020 13:26:46 +0000 (16:26 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:59 +0000 (12:06 +0200)
commita1cae626ddce4e55a9d773b3a978b490d924d0ce
tree9441a6945ab98e258e2fcda9135786950744c0f2
parent68145193b1baf05924c373fbfa262de086c7cda7
btrfs: remove alloc_list splice in btrfs_prepare_sprout

btrfs_prepare_sprout is called when the first rw device is added to a
seed filesystem. This means the filesystem can't have its alloc_list
be non-empty, since seed filesystems are read only. Simply remove the
code altogether.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c