]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_aops.c
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
[linux.git] / fs / xfs / xfs_aops.c
index f9efd67f6fa1060ce9a04b4735dbb524bb11fa37..fffae1390d7f493af03dfcc48d1a545190791d03 100644 (file)
@@ -540,7 +540,7 @@ xfs_init_bio_from_bh(
        struct buffer_head      *bh)
 {
        bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9);
-       bio->bi_bdev = bh->b_bdev;
+       bio_set_dev(bio, bh->b_bdev);
 }
 
 static struct xfs_ioend *