block: genhd.h cleanup patch
authorPetros Koutoupis <pkoutoupis@hydrasystemsllc.com>
Wed, 11 Mar 2009 09:49:35 +0000 (10:49 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 24 Mar 2009 11:35:17 +0000 (12:35 +0100)
In include/linux/genhd.h: Line 335 has a comment that needs to be updated from: /* drivers/block/ll_rw_blk.c */ to /* block/blk-core.c */. Also as of kernel 2.6.16, the function definition for get_blkdev_list was removed from block/genhd.c but the function declaration is still present on line 339. This patch addresses both those fixes, by updating the comment and removing the declaration.

Signed-off-by: Petros Koutoupis <pkoutoupis@hydrasystemsllc.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/genhd.h

index 56946b21ab780576213d1a2c39617069e50bf951..634c53028fb81da1fd2a211acb291101bdfff01f 100644 (file)
@@ -333,11 +333,10 @@ static inline void part_dec_in_flight(struct hd_struct *part)
                part_to_disk(part)->part0.in_flight--;
 }
 
-/* drivers/block/ll_rw_blk.c */
+/* block/blk-core.c */
 extern void part_round_stats(int cpu, struct hd_struct *part);
 
 /* block/genhd.c */
-extern int get_blkdev_list(char *, int);
 extern void add_disk(struct gendisk *disk);
 extern void del_gendisk(struct gendisk *gp);
 extern void unlink_gendisk(struct gendisk *gp);