]> www.infradead.org Git - users/hch/block.git/commit
block: move bd_part_count to struct gendisk
authorChristoph Hellwig <hch@lst.de>
Mon, 12 Apr 2021 07:57:08 +0000 (09:57 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 May 2021 13:23:31 +0000 (15:23 +0200)
commitfe687dbc0c05274c456b12e28f74f301dfbf45ea
tree45a33f1ba1f5775c0d500896d20534ef9690fb88
parent147eabea71654db0035ae55e97a9152710be6eeb
block: move bd_part_count to struct gendisk

The bd_part_count value only makes sense for whole devices, so move it
to struct gendisk and give it a more descriptive name.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/ioctl.c
fs/block_dev.c
include/linux/blk_types.h
include/linux/genhd.h