Skip to content

Commit

Permalink
block: pass a gendisk to the queue_sysfs_entry methods
Browse files Browse the repository at this point in the history
The kobject for the queue entries is embedded into a struct gendisk.
Pass it to the sysfs methods instead of the request_queue derived from
it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240627111407.476276-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Christoph Hellwig authored and axboe committed Jun 28, 2024
1 parent 319e8cf commit 62e35f9
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 97 deletions.
Loading

0 comments on commit 62e35f9

Please sign in to comment.