aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_aops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index 1269434ceec1..2f9fb421915a 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -451,7 +451,7 @@ xfs_start_page_writeback(
451 end_page_writeback(page); 451 end_page_writeback(page);
452} 452}
453 453
454static inline int bio_add_buffer(struct bio *bio, struct buffer_head *bh) 454static inline int xfs_bio_add_buffer(struct bio *bio, struct buffer_head *bh)
455{ 455{
456 return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); 456 return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh));
457} 457}
@@ -525,7 +525,7 @@ xfs_submit_ioend(
525 goto retry; 525 goto retry;
526 } 526 }
527 527
528 if (bio_add_buffer(bio, bh) != bh->b_size) { 528 if (xfs_bio_add_buffer(bio, bh) != bh->b_size) {
529 xfs_submit_ioend_bio(wbc, ioend, bio); 529 xfs_submit_ioend_bio(wbc, ioend, bio);
530 goto retry; 530 goto retry;
531 } 531 }