Merge branch 'for-linus-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[muen/linux.git] / fs / btrfs / volumes.c
index 7c7e0c99360f429252cb33d330cb4056d9309f76..ab8a66d852f91cb04206361a551b8c57760c9c40 100644 (file)
@@ -365,7 +365,7 @@ static noinline void run_scheduled_bios(struct btrfs_device *device)
         */
        blk_start_plug(&plug);
 
-       bdi = blk_get_backing_dev_info(device->bdev);
+       bdi = device->bdev->bd_bdi;
        limit = btrfs_async_submit_limit(fs_info);
        limit = limit * 2 / 3;