]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block: aoe: use DEFINE_SHOW_ATTRIBUTE to simplify aoe_debugfs
authorLiu Shixin <liushixin2@huawei.com>
Thu, 15 Sep 2022 02:34:24 +0000 (10:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Sep 2022 01:49:24 +0000 (19:49 -0600)
commit8ef859995dbcc5bdc4b0707c9130e130f53c1b08
tree9dd1aff1545fbdecab672c74d65e419b7a76807e
parente55e1b4831563e5766f88fa821f5bfac0d6c298c
block: aoe: use DEFINE_SHOW_ATTRIBUTE to simplify aoe_debugfs

Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220915023424.3198940-1-liushixin2@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c