xfs: rename bio_add_buffer() to xfs_bio_add_buffer()
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Wed, 7 Aug 2013 10:11:09 +0000 (10:11 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 20 Aug 2013 20:35:00 +0000 (15:35 -0500)
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>
fs/xfs/xfs_aops.c

index 1269434ceec1952d65b939e272109b297cab7569..2f9fb421915a6a09ffad9668070ac0b335ef7e7d 100644 (file)
@@ -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;
                        }