md: cleanup: move the comment for bio_clone_mddev to the right place
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.
Signed-off-by Wang Sheng-Hui <[email protected]>
--- drivers/md/md.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
drivers/md/md.c +3 -4
@@ -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