On Thu, Apr 14, 2016 at 06:24:10PM +0800, Anand Jain wrote:
> Yauhen reported in the ML that s_bdev is null at mount, and
> s_bdev gets updated to some device when missing device is
> replaced, as because bdev is null for missing device, things
> gets matched up. Fix this by checking if s_bdev is set. I
> didn't want to completely remove updating s_bdev because
> the future multi device support at vfs layer may need it.
> 
> Signed-off-by: Anand Jain <anand.j...@oracle.com>
> Reported-by: Yauhen Kharuzhy <yauhen.kharu...@zavadatar.com>

Do you have a testcase for that? As there are more patches touching the
device pointers I'd rather see some test coverage. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to