diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2017-01-16 22:07:01 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-06-19 17:03:50 +0200 |
commit | 23d70c5e52dd68448bb14fdef5efe04d81973b31 (patch) | |
tree | 790860981a8c8ea5a72cca9407117974419c1ae3 /samples | |
parent | dm ioctl: add a new DM_DEV_ARM_POLL ioctl (diff) | |
download | linux-23d70c5e52dd68448bb14fdef5efe04d81973b31.tar.xz linux-23d70c5e52dd68448bb14fdef5efe04d81973b31.zip |
dm ioctl: report event number in DM_LIST_DEVICES
Report the event numbers for all the devices, so that the user doesn't
have to ask them one by one. The event number is reported after the
name field in the dm_name_list structure.
The location of the next record is specified in the dm_name_list->next
field, that means that we can put the new data after the end of name and
it is backward compatible with the old code. The old code just skips
the event number without interpreting it.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions