dm ioctl: fix a couple ioctl codes
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 1 Nov 2022 20:54:27 +0000 (16:54 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 1 Dec 2022 16:43:41 +0000 (11:43 -0500)
commitb52c3de84bd02083f2bbaae130adb243a689dd63
tree091d6e28f29f4d28d9ce88d39052ea25c292370e
parentd043f9a1ca929eee76dac940b4ccfb5429e6098f
dm ioctl: fix a couple ioctl codes

Change the ioctl codes from DM_DEV_ARM_POLL to DM_DEV_ARM_POLL_CMD and
from DM_GET_TARGET_VERSION to DM_GET_TARGET_VERSION_CMD.

Note that the "cmd" field of "struct _ioctls" is never used, thus this
commit doesn't fix any bug, it just makes the code consistent.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-ioctl.c