[PATCH AUTOSEL for 4.9 040/190] btrfs: fix a bogus warning when converting only data or metadata

2018-03-07 Thread Sasha Levin
From: Adam Borowski [ Upstream commit 14506127979a5a3d0c5d9b4cc76ce9d4ec23b717 ] If your filesystem has, eg, data:raid0 metadata:raid1, and you run "btrfs balance -dconvert=raid1", the meta.target field will be uninitialized. That's otherwise ok, as it's unused except for

[PATCH AUTOSEL for 4.9 040/190] btrfs: fix a bogus warning when converting only data or metadata

2018-03-07 Thread Sasha Levin
From: Adam Borowski [ Upstream commit 14506127979a5a3d0c5d9b4cc76ce9d4ec23b717 ] If your filesystem has, eg, data:raid0 metadata:raid1, and you run "btrfs balance -dconvert=raid1", the meta.target field will be uninitialized. That's otherwise ok, as it's unused except for this warning. Thus,