]> 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)
commit32559c96dfebd5cb539f52cdf93464c572bbd2c5
treec7d47557d836331155540e3625a90cd88ead5981
parente0939d2191595a31feba016d4e74025f25b68781
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