diff mbox

[RFC,btrfs] buffer_head: create_bh_bio() can be static

Message ID 20171219033527.GA11542@lkp-wsm-ep2 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Dec. 19, 2017, 3:35 a.m. UTC
Fixes: 61b4603b8338 ("buffer_head: separate out create_bh_bio() from submit_bh_wbc()")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 buffer.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/buffer.c b/fs/buffer.c
index eb15599..b793f6d 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -3055,8 +3055,8 @@  void guard_bio_eod(int op, struct bio *bio)
 	}
 }
 
-struct bio *create_bh_bio(int op, int op_flags, struct buffer_head *bh,
-                          enum rw_hint write_hint)
+static struct bio *create_bh_bio(int op, int op_flags, struct buffer_head *bh,
+				 enum rw_hint write_hint)
 {
 	struct bio *bio;