X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_aops.c;h=fffae1390d7f493af03dfcc48d1a545190791d03;hb=a0725ab0c7536076d5477264420ef420ebb64501;hp=f9efd67f6fa1060ce9a04b4735dbb524bb11fa37;hpb=3ee31b89d9b12c01aa03dda7a923ef07a800eedd;p=linux.git diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index f9efd67f6fa1..fffae1390d7f 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c @@ -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 *