]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f0236cc24fde671b335cad36e398f6d5c303a7b
tree3e2fd9e8ba37b4824f22252549c9cb12b44e78ad
parent0653273057a9e15cfbf25c6fcdba789e928e3e6c
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