dm integrity: use previously calculated log2 of sectors_per_block
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 26 Apr 2017 22:39:47 +0000 (18:39 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Apr 2017 16:16:32 +0000 (12:16 -0400)
commit84ff1bcc2e25f1ddf5b350c4fa718ca01fdd88e9
treee5b00f7ba4b76756e874e4bfded3ec35618bea8d
parent6625d903253eb6f003849823e22d7b8de5bfb5b2
dm integrity: use previously calculated log2 of sectors_per_block

The log2 of sectors_per_block was already calculated, so we don't have
to use the ilog2 function.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c