aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-path-selector.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-04-18 16:51:50 -0400
committerMike Snitzer <snitzer@redhat.com>2017-04-24 12:04:32 -0400
commit56b67a4f292f14548f4046979d46d07bcf8ba971 (patch)
tree2b7648bdcbc66160eafe5b93d6445a90afef4998 /drivers/md/dm-path-selector.c
parentdm: mark targets that pass integrity data (diff)
downloadlinux-dev-56b67a4f292f14548f4046979d46d07bcf8ba971.tar.xz
linux-dev-56b67a4f292f14548f4046979d46d07bcf8ba971.zip
dm integrity: various small changes and cleanups
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: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-path-selector.c')
0 files changed, 0 insertions, 0 deletions