]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: add helper macros to de-duplicate the queue sysfs attributes
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Jun 2024 11:14:02 +0000 (13:14 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jun 2024 21:06:16 +0000 (15:06 -0600)
commit319e8cfdf3caf41b98f50ef13542a35acd897bb6
treebc5eccd8b14442d8ea3d3a05de4cafe85c67daaf
parent5476394aa9f27d670dd2bac426fdb6ac12b12cb3
block: add helper macros to de-duplicate the queue sysfs attributes

A lof the code to implement the queue sysfs attributes is repetitive.
Add a few macros to generate the common cases.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240627111407.476276-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c