aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-27 16:21:52 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-01 14:53:39 -0700
commitb601d148a16ea16dfbaf3600be35ee175847a09b (patch)
treea604c3cbc3ff0a1a3c9a7c7c5ad74b9deaf5b655 /include/linux/genhd.h
parentdm: remove the block_device reference in struct mapped_device (diff)
downloadlinux-dev-b601d148a16ea16dfbaf3600be35ee175847a09b.tar.xz
linux-dev-b601d148a16ea16dfbaf3600be35ee175847a09b.zip
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>
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r--include/linux/genhd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 46553d6d6025..22f5b9fd96f8 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -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)