]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84d4e8f8abcb5e888d6efff97c803571a76bac36
tree22ff97e02c266e84658d535d63107f84e67fc059
parent04dd8c187cfca532a72c3da37f61c0a4d6c3430d
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