Commit c7c1a7d8 authored by Zhi Yong Wu's avatar Zhi Yong Wu Committed by Ben Myers

xfs: rename bio_add_buffer() to xfs_bio_add_buffer()

Follow up with xfs naming style.
Signed-off-by: default avatarZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Reviewed-by: default avatarMark Tinguely <tinguely@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent 0a94da24
...@@ -451,7 +451,7 @@ xfs_start_page_writeback( ...@@ -451,7 +451,7 @@ xfs_start_page_writeback(
end_page_writeback(page); end_page_writeback(page);
} }
static inline int bio_add_buffer(struct bio *bio, struct buffer_head *bh) static inline int xfs_bio_add_buffer(struct bio *bio, struct buffer_head *bh)
{ {
return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh)); return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh));
} }
...@@ -525,7 +525,7 @@ xfs_submit_ioend( ...@@ -525,7 +525,7 @@ xfs_submit_ioend(
goto retry; goto retry;
} }
if (bio_add_buffer(bio, bh) != bh->b_size) { if (xfs_bio_add_buffer(bio, bh) != bh->b_size) {
xfs_submit_ioend_bio(wbc, ioend, bio); xfs_submit_ioend_bio(wbc, ioend, bio);
goto retry; goto retry;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment