block: add helper macros for queue sysfs entries
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Sep 2020 06:07:00 +0000 (08:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 Sep 2020 15:01:10 +0000 (09:01 -0600)
commit3562614705c6f2324f79a959a2cf1ae24d142578
tree3e2fd9e8ba37b4824f22252549c9cb12b44e78ad
parente75ad2cc41832bae3218e3d6f38b3f03ae0a41df
block: add helper macros for queue sysfs entries

Add two helpers macros to avoid boilerplate code for the queue sysfs
entries.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c