]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9fe23ef469030a894ac9c97a6a2d52a910d016dc
treeac7f0c90f3b428e270a03bc9eafe16361578ae21
parentfa9158c2c49df23781a4f9cbec07c5314e445a66
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