Fix full_name_hash() behaviour when length is a multiple of 8
authorAl Viro <viro@ZenIV.linux.org.uk>
Thu, 22 Mar 2012 21:59:52 +0000 (21:59 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 22:10:43 +0000 (15:10 -0700)
commitf132c5be05e407a99cf582347a2ae0120acd3ad7
treef089bbd244aad5d5686360080f93ee9e8592a39d
parentba331d5decbfe1cc8b1bf10fb7005f4b972c4f0e
Fix full_name_hash() behaviour when length is a multiple of 8

We want it to match what hash_name() is doing, which means extra
multiply by 9 in this case...

Reported-and-Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c