Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758183AbXEYG2B (ORCPT ); Fri, 25 May 2007 02:28:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752947AbXEYG1x (ORCPT ); Fri, 25 May 2007 02:27:53 -0400 Received: from nz-out-0506.google.com ([64.233.162.232]:16756 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752637AbXEYG1x (ORCPT ); Fri, 25 May 2007 02:27:53 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tRdmlre+IlKCQqyx/Ujdo4MOCrWTjUCTNC/a7dIizprrK4E/NHvqZ5tuS1Q6UcaNUXzTNFUtHaq1bg+J03PyJhrcmgCxuuQ0BzGbb0qHL1fzv3ri/7+ijlBGe6BJ3lX8EIcu2w7sS/N+5kfnpF4/MoIzCvEaaaXKXJY42vC28RI= Message-ID: Date: Fri, 25 May 2007 06:27:51 +0000 From: "young dave" To: "Andrew Morton" Subject: Re: 2.6.22-rc2-mm1 NTFS & SLUB related fix Cc: "Christoph Lameter" , "Linux Kernel Mailing List" , "Anton Altaparmakov" In-Reply-To: <20070524224709.0719acfe.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070524224709.0719acfe.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 24 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. - 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/