X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_aops.c;h=1b19b9cd692ad8ff4d73259f7353b1e6a86477ad;hb=4f024f3797c43cb4b73cd2c50cec728842d0e49e;hp=71c8c9d2b8826a0ed22d886fb3327d2ff0784fc3;hpb=ed9c47bebeeea4a468b07cfd745c690190f8014c;p=mirror_ubuntu-bionic-kernel.git diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 71c8c9d2b882..1b19b9cd692a 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c @@ -407,7 +407,7 @@ xfs_alloc_ioend_bio( struct bio *bio = bio_alloc(GFP_NOIO, nvecs); ASSERT(bio->bi_private == NULL); - bio->bi_sector = bh->b_blocknr * (bh->b_size >> 9); + bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); bio->bi_bdev = bh->b_bdev; return bio; }