mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 12:20:52 +07:00
xfs: rename bio_add_buffer() to xfs_bio_add_buffer()
Follow up with xfs naming style. Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
parent
0a94da24b9
commit
c7c1a7d8bb
@ -451,7 +451,7 @@ xfs_start_page_writeback(
|
||||
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));
|
||||
}
|
||||
@ -525,7 +525,7 @@ xfs_submit_ioend(
|
||||
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);
|
||||
goto retry;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user