Re: [PATCH 1/1] btrfs: remove assert in btrfs_init_dev_replace_tgtdev()

2018-02-23 Thread David Sterba
On Tue, Feb 20, 2018 at 10:50:36PM +0800, Anand Jain wrote: > In the same function we just ran btrfs_alloc_device() which means the > btrfs_device::resized_list is sure to be empty and we are protected > with the btrfs_fs_info::volume_mutex. > > Signed-off-by: Anand Jain

[PATCH 1/1] btrfs: remove assert in btrfs_init_dev_replace_tgtdev()

2018-02-20 Thread Anand Jain
In the same function we just ran btrfs_alloc_device() which means the btrfs_device::resized_list is sure to be empty and we are protected with the btrfs_fs_info::volume_mutex. Signed-off-by: Anand Jain --- fs/btrfs/volumes.c | 1 - 1 file changed, 1 deletion(-) diff