Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758695AbXEYGoR (ORCPT ); Fri, 25 May 2007 02:44:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753638AbXEYGoJ (ORCPT ); Fri, 25 May 2007 02:44:09 -0400 Received: from smtp1.linux-foundation.org ([207.189.120.13]:33423 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917AbXEYGoI (ORCPT ); Fri, 25 May 2007 02:44:08 -0400 Date: Thu, 24 May 2007 23:43:53 -0700 From: Andrew Morton To: "young dave" Cc: "Christoph Lameter" , "Linux Kernel Mailing List" , "Anton Altaparmakov" Subject: Re: 2.6.22-rc2-mm1 NTFS & SLUB related fix Message-Id: <20070524234353.ad493d42.akpm@linux-foundation.org> In-Reply-To: References: <20070524224709.0719acfe.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 29 On Fri, 25 May 2007 06:27:51 +0000 "young dave" wrote: > Hi Andrew, > > > So I think this was meant: > > > > --- a/fs/ntfs/inode.c~a > > +++ a/fs/ntfs/inode.c > > @@ -140,7 +140,7 @@ static int ntfs_init_locked_inode(struct > > if (!ni->name) > > return -ENOMEM; > > memcpy(ni->name, na->name, i); > > - ni->name[i] = 0; > > + ni->name[na->name_len] = 0; > > } > > return 0; > > } > > _ > > > > I tested it , it doesn't work. Surprised. Are you really sure that you had the patch applied, and that you tested the right kernel, etc? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/