]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nbd: Convert to DEFINE_SHOW_ATTRIBUTE
authorLiao Pingfang <winndows@163.com>
Sat, 6 Feb 2021 07:10:55 +0000 (15:10 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 16:38:39 +0000 (09:38 -0700)
commita2d52a6c1b6764031b6cac7cc156530cbb38248c
tree7c33049f369d3c360e4e289a50b30dc1293b41fd
parent6751c1e3cff3aa763c760c08862627069a37b50e
nbd: Convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Liao Pingfang <winndows@163.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c