OSDN Git Service

dm ioctl: constify ioctl lookup table
authorEric Biggers <ebiggers@google.com>
Thu, 22 Jun 2017 18:33:47 +0000 (11:33 -0700)
committerMike Snitzer <snitzer@redhat.com>
Mon, 28 Aug 2017 15:47:18 +0000 (11:47 -0400)
commitcf0dec6674c1e2a7ba326cfbbe7f05a70458afc9
tree9222704c7f58fe4cdd8535c5192c5c2f76173917
parent5916a22b83041b07d63191fe06206ae0fff6ec7a
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>
drivers/md/dm-ioctl.c