dm-integrity: limit MAX_TAG_SIZE to 255
MAX_TAG_SIZE was 0x1a8 and it may be truncated in the "bi->metadata_size
= ic->tag_size" assignment. We need to limit it to 255.
Signed-off-by:
Mikulas Patocka <mpatocka@redhat.com>
Loading
MAX_TAG_SIZE was 0x1a8 and it may be truncated in the "bi->metadata_size
= ic->tag_size" assignment. We need to limit it to 255.
Signed-off-by:
Mikulas Patocka <mpatocka@redhat.com>
mentioned in commit 9eb265e5
mentioned in commit 4b91d0c5
mentioned in commit 93936f2d