dm ioctl: constify ioctl lookup table

Constify the lookup table for device-mapper ioctls so that it is placed
in .rodata.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

authored by

Eric Biggers and committed by
Mike Snitzer
cf0dec66 5916a22b

+1 -1
+1 -1
drivers/md/dm-ioctl.c
··· 1629 1629 *---------------------------------------------------------------*/ 1630 1630 static ioctl_fn lookup_ioctl(unsigned int cmd, int *ioctl_flags) 1631 1631 { 1632 - static struct { 1632 + static const struct { 1633 1633 int cmd; 1634 1634 int flags; 1635 1635 ioctl_fn fn;