Re: [PATCH] kernfs: fix off by one error.
From: Greg Kroah-Hartman
Date: Wed Mar 05 2014 - 13:29:05 EST
On Wed, Mar 05, 2014 at 05:10:52PM +0100, Richard Cochran wrote:
> 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 <richardcochran@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> ---
> fs/kernfs/dir.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Is this for 3.14-final or 3.15-rc1?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/