md: cleanup: move the comment for bio_clone_mddev to the right place

Started by unknown sender on Dec 15, 2012

Subsystems (2)

Maintainers (3)

DORMANTno replies

open the first message on its own page

Message details and related content
From: Wang Sheng-Hui <redacted>

Place the comment before bio_clone_mddev instead of bio_alloc_mddev.

Signed-off-by: Wang Sheng-Hui <redacted>
---
 drivers/md/md.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index bd8bf09..e9ecab4 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -151,10 +151,6 @@ static const struct block_device_operations md_fops;
 
 static int start_readonly;
 
-/* bio_clone_mddev
- * like bio_clone, but with a local bio set
- */
-
 struct bio *bio_alloc_mddev(gfp_t gfp_mask, int nr_iovecs,
 			    struct mddev *mddev)
 {
@@ -170,6 +166,9 @@ struct bio *bio_alloc_mddev(gfp_t gfp_mask, int nr_iovecs,
 }
 EXPORT_SYMBOL_GPL(bio_alloc_mddev);
 
+/* bio_clone_mddev
+ * like bio_clone, but with a local bio set
+ */
 struct bio *bio_clone_mddev(struct bio *bio, gfp_t gfp_mask,
 			    struct mddev *mddev)
 {
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help