]> git.baikalelectronics.ru Git - kernel.git/commit
dm table: Constify static struct blk_ksm_ll_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 26 May 2021 21:06:37 +0000 (23:06 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 4 Jun 2021 16:07:28 +0000 (12:07 -0400)
commite1c211c66608b233c9d61964bcc1a25c247efce9
tree375d1017fc6894786c5b4a3c379d4a10f0005fd3
parenta97bc0821078c9a66ae7a1c164a8b1863ce74cdc
dm table: Constify static struct blk_ksm_ll_ops

The only usage of dm_ksm_ll_ops is to make a copy of it to the ksm_ll_ops
field in the blk_keyslot_manager struct. Make it const to allow the
compiler to put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c