block: remove a duplicate __disk_get_part prototype
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Родитель
b0519b5423
Коммит
b601d148a1
|
@ -250,7 +250,6 @@ static inline dev_t part_devt(struct hd_struct *part)
|
|||
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);
|
||||
|
||||
static inline void disk_put_part(struct hd_struct *part)
|
||||
|
|
Загрузка…
Ссылка в новой задаче