diff options
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index cd7b8ca9b064..497fcde381d7 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -1678,8 +1678,6 @@ xfs_alloc_buftarg( | |||
1678 | btp->bt_dev = bdev->bd_dev; | 1678 | btp->bt_dev = bdev->bd_dev; |
1679 | btp->bt_bdev = bdev; | 1679 | btp->bt_bdev = bdev; |
1680 | btp->bt_bdi = blk_get_backing_dev_info(bdev); | 1680 | btp->bt_bdi = blk_get_backing_dev_info(bdev); |
1681 | if (!btp->bt_bdi) | ||
1682 | goto error; | ||
1683 | 1681 | ||
1684 | if (xfs_setsize_buftarg_early(btp, bdev)) | 1682 | if (xfs_setsize_buftarg_early(btp, bdev)) |
1685 | goto error; | 1683 | goto error; |