public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: zwu.kernel@gmail.com
To: xfs@oss.sgi.com
Cc: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Subject: [PATCH 12/12] xfs: rename bio_add_buffer() to xfs_bio_add_buffer()
Date: Wed,  7 Aug 2013 18:11:09 +0800	[thread overview]
Message-ID: <1375870269-13157-13-git-send-email-zwu.kernel@gmail.com> (raw)
In-Reply-To: <1375870269-13157-1-git-send-email-zwu.kernel@gmail.com>

From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>

Follow up with xfs naming style.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
 fs/xfs/xfs_aops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index 596ec71..b724002 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;
 			}
-- 
1.7.11.7

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2013-08-07 10:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 10:10 [PATCH 00/12] xfs: a chunk of comment fixes zwu.kernel
2013-08-07 10:10 ` [PATCH 01/12] xfs: fix the comment of xfs_check_sizes() zwu.kernel
2013-08-07 10:10 ` [PATCH 02/12] xfs: fix the comment of xfs_buf_free() zwu.kernel
2013-08-07 10:11 ` [PATCH 03/12] xfs: fix the comment of xfs_btree_lookup() zwu.kernel
2013-08-07 10:11 ` [PATCH 04/12] xfs: fix the comment of xfs_mod_incore_sb_unlocked() zwu.kernel
2013-08-07 10:11 ` [PATCH 05/12] xfs: fix the comment of xlog_write_setup_copy() zwu.kernel
2013-08-07 10:11 ` [PATCH 06/12] xfs: remove one blank line in xfs_btree_make_block_unfull() zwu.kernel
2013-08-07 10:11 ` [PATCH 07/12] xfs: fix the comment of xfs_iroot_realloc() zwu.kernel
2013-08-07 13:29   ` Mark Tinguely
2013-08-07 14:01     ` Zhi Yong Wu
2013-08-07 14:30       ` Mark Tinguely
2013-08-07 14:41         ` Zhi Yong Wu
2013-08-07 10:11 ` [PATCH 08/12] xfs: fix the comment of xfs_btree_get_iroot() zwu.kernel
2013-08-07 10:11 ` [PATCH 09/12] xfs: remove two unused macro definitions in xfs_linux.h zwu.kernel
2013-08-07 10:11 ` [PATCH 10/12] xfs: fix the comment of xlog_recover_buffer_pass2() zwu.kernel
2013-08-07 10:11 ` [PATCH 11/12] xfs: fix the comment of xlog_find_head() zwu.kernel
2013-08-07 10:11 ` zwu.kernel [this message]
2013-08-20 21:17 ` [PATCH 00/12] xfs: a chunk of comment fixes Ben Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375870269-13157-13-git-send-email-zwu.kernel@gmail.com \
    --to=zwu.kernel@gmail.com \
    --cc=wuzhy@linux.vnet.ibm.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox