diff options
| author | Hannes Reinecke <[email protected]> | 2018-09-28 08:17:23 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-09-28 08:30:33 -0600 |
| commit | e982c4d0a29b1d61fbe7716a8dcf8984936d6730 (patch) | |
| tree | 9dc5e53a438c59ed81466f1a5936ed9366255ff6 /tools/perf/scripts/python/netdev-times.py | |
| parent | 98af4d4df889dcea3bc0ce6b8a04759658ba8826 (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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions