]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d987411932c6b0e9164ffce57450cb23062eeb2
treef089bbd244aad5d5686360080f93ee9e8592a39d
parent841a8d25ccdfc49cba8bad54bd224a496bc9e608
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