fs/hfsplus/wrapper.c: replace shift loop by ilog2
authorFabian Frederick <fabf@skynet.be>
Fri, 6 Jun 2014 21:36:29 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:10 +0000 (16:08 -0700)
commit297cc27207446e9f054492fff5b561cebc589328
treeac7f0c90f3b428e270a03bc9eafe16361578ae21
parent2cd282a1bc6b9d111b8beee63bea0af735a8a1aa
fs/hfsplus/wrapper.c: replace shift loop by ilog2

Replace while blocksize;shift by ilog2

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/wrapper.c