summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-08-07 10:11:09 +0000
committerBen Myers <bpm@sgi.com>2013-08-20 15:35:00 -0500
commitc7c1a7d8bb45479e01ae47a8e8dbf4e769028f07 (patch)
treee6990636fd69f6e5b80030a08920fd1b35ac9a06 /fs/xfs/xfs_aops.c
parent0a94da24b92d965fe13af4f6e4ee2c741e126db9 (diff)
downloadop-kernel-dev-c7c1a7d8bb45479e01ae47a8e8dbf4e769028f07.zip
op-kernel-dev-c7c1a7d8bb45479e01ae47a8e8dbf4e769028f07.tar.gz
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>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
-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 1269434..2f9fb42 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -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;
}
OpenPOWER on IntegriCloud