Commit b601d148 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: remove a duplicate __disk_get_part prototype

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b0519b54
...@@ -250,7 +250,6 @@ static inline dev_t part_devt(struct hd_struct *part) ...@@ -250,7 +250,6 @@ static inline dev_t part_devt(struct hd_struct *part)
return part_to_dev(part)->devt; return part_to_dev(part)->devt;
} }
extern struct hd_struct *__disk_get_part(struct gendisk *disk, int partno);
extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno); extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno);
static inline void disk_put_part(struct hd_struct *part) static inline void disk_put_part(struct hd_struct *part)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment