From: Richard Cochran Date: Wed, 5 Mar 2014 16:10:52 +0000 (+0100) Subject: kernfs: fix off by one error. X-Git-Tag: v3.15-rc1~140^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88391d49abb7d8dee91d405f96bd9e003cb6798d;p=pandora-kernel.git kernfs: fix off by one error. The hash values 0 and 1 are reserved for magic directory entries, but the code only prevents names hashing to 0. This patch fixes the test to also prevent hash value 1. Signed-off-by: Richard Cochran Cc: Reviewed-by: "Eric W. Biederman" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed