• Mikulas Patocka's avatar
    dm integrity: various small changes and cleanups · 56b67a4f
    Mikulas Patocka authored
    Some coding style changes.
    
    Fix a bug that the array test_tag has insufficient size if the digest
    size of internal has is bigger than the tag size.
    
    The function __fls is undefined for zero argument, this patch fixes
    undefined behavior if the user sets zero interleave_sectors.
    
    Fix the limit of optional arguments to 8.
    
    Don't allocate crypt_data on the stack to avoid a BUG with debug kernel.
    
    Rename all optional argument names to have underscores rather than
    dashes.
    Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    56b67a4f
dm-integrity.txt 8.26 KB