block: constify struct blk_integrity_profile
authorEric Biggers <ebiggers@google.com>
Sat, 25 Mar 2017 01:03:48 +0000 (18:03 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 25 Mar 2017 02:34:39 +0000 (20:34 -0600)
commit869ab90f0ae0002ce6e9d3a5c75156ae8de48ffc
tree22ff97e02c266e84658d535d63107f84e67fc059
parent1be7d2073e83e2b5c632a65bfcd59a73ce92bf6d
block: constify struct blk_integrity_profile

blk_integrity_profile's are never modified, so mark them 'const' so that
they are placed in .rodata and benefit from memory protection.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-integrity.c
block/t10-pi.c
include/linux/genhd.h
include/linux/t10-pi.h