]> www.infradead.org Git - users/hch/block.git/commit
block: pass a gendisk to the queue_sysfs_entry handlers block-queue-sysfs
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Jul 2023 09:40:30 +0000 (11:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 Aug 2023 17:39:50 +0000 (10:39 -0700)
commit75b94231a1d5df23785de38c7ed23204ffc94449
tree4959ea82ec20af8ccf066e453db8eb65eecefd38
parenta24c8b5111a139b54fd02fec23bc21789135cd2e
block: pass a gendisk to the queue_sysfs_entry handlers

Despite the name in sysfs, the "queue" sysfs entries are associated
with the gendisk a that is the only block object that registers with
sysfs.  Pass the gendisk to the handlers so that we can propagate it
further in follow on patches.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-sysfs.c
block/blk-throttle.c
block/blk.h
block/elevator.c
block/elevator.h