From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 5 Mar 2014 10:30:42 -0800 From: Greg Kroah-Hartman To: Richard Cochran Cc: linux-kernel@vger.kernel.org, Eric Biederman , Tejun Heo , stable@vger.kernel.org Subject: Re: [PATCH] kernfs: fix off by one error. Message-ID: <20140305183042.GC9824@kroah.com> References: <74f5a436ebf5c13ed89a81c47ba09a6549e385f6.1394035568.git.richardcochran@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74f5a436ebf5c13ed89a81c47ba09a6549e385f6.1394035568.git.richardcochran@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: 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 > Cc: > --- > 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