]> git.baikalelectronics.ru Git - kernel.git/commit
dm verity: use __ffs and __fls
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 10 Jul 2013 22:41:17 +0000 (23:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 10 Jul 2013 22:41:17 +0000 (23:41 +0100)
commit5c9f607c3eb18f9650747eaeaba0b45e5536e161
treec7d47557d836331155540e3625a90cd88ead5981
parente0b444de575f28eb33356f6678a123a0a3526112
dm verity: use __ffs and __fls

This patch changes ffs() to __ffs() and fls() to __fls() which don't add
one to the result.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-verity.c