Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Dec 15, 2012 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md: cleanup: move the comment for bio_clone_mddev to the right place

From: Wang Sheng-Hui <[email protected]>

Place the comment before bio_clone_mddev instead of bio_alloc_mddev.

---
 drivers/md/md.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
drivers/md/md.c +3 -4
index bd8bf09..e9ecab4 100644
@@ -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)
 {
Signature · 1 line
1.7.10.4