Skip to content

Commit

Permalink
block: genhd.h comment needs updating
Browse files Browse the repository at this point in the history
The include/linux/genhd.h file, on line 338-352 declares some function
prototypes in which the comment on line 338 states that the definition of
these prototypes are to be found at drivers/block/genhd.c. The problem is
that genhd.c has been relocated to block/genhd.c. See attached patch to
correct this minor cosmetic typo.

Signed-off-by: Petros Koutoupis <pkoutoupis@hydrasystemsllc.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Petros Koutoupis authored and Jens Axboe committed Mar 24, 2009
1 parent 50e1749 commit 32ca163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/genhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ static inline void part_dec_in_flight(struct hd_struct *part)
/* drivers/block/ll_rw_blk.c */
extern void part_round_stats(int cpu, struct hd_struct *part);

/* drivers/block/genhd.c */
/* block/genhd.c */
extern int get_blkdev_list(char *, int);
extern void add_disk(struct gendisk *disk);
extern void del_gendisk(struct gendisk *gp);
Expand Down

0 comments on commit 32ca163

Please sign in to comment.