OSDN Git Service

dm integrity: make blk_integrity_profile structure const
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 6 Aug 2017 17:24:00 +0000 (22:54 +0530)
committerMike Snitzer <snitzer@redhat.com>
Mon, 11 Sep 2017 15:00:53 +0000 (11:00 -0400)
commit7c373d660420f74c3e16d148629b810f3a36ac9e
tree8a517233d6bec4bdcde3922c0713ce0aa62bebee
parentb7e326f7b7375392d06f9cfbc27a7c63181f69d7
dm integrity: make blk_integrity_profile structure const

Make this structure const as it is only stored in the profile field of a
blk_integrity structure. This field is of type const, so make structure
as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c