summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2018-09-28 08:17:23 +0200
committerJens Axboe <axboe@kernel.dk>2018-09-28 08:30:33 -0600
commite982c4d0a29b1d61fbe7716a8dcf8984936d6730 (patch)
tree9dc5e53a438c59ed81466f1a5936ed9366255ff6 /block
parent98af4d4df889dcea3bc0ce6b8a04759658ba8826 (diff)
virtio-blk: modernize sysfs attribute creation
Use new-style DEVICE_ATTR_RO/DEVICE_ATTR_RW to create the sysfs attributes and register the disk with default sysfs attribute groups. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions