Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1INJMj-0004Yt-Dk for mharc-grub-devel@gnu.org; Mon, 20 Aug 2007 22:21:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INJMh-0004X7-Bu for grub-devel@gnu.org; Mon, 20 Aug 2007 22:21:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INJMf-0004Wv-Qr for grub-devel@gnu.org; Mon, 20 Aug 2007 22:21:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INJMf-0004Ws-OR for grub-devel@gnu.org; Mon, 20 Aug 2007 22:21:05 -0400 Received: from an-out-0708.google.com ([209.85.132.243]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INJMf-0002xo-35 for grub-devel@gnu.org; Mon, 20 Aug 2007 22:21:05 -0400 Received: by an-out-0708.google.com with SMTP id c25so121975ana for ; Mon, 20 Aug 2007 19:21:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EnurVVpPi9OpR/mMI2hWTGXG9X3Mxyvs7gCStfDXV9ck1slyjTRLkf2Rg0bKh4RwjW44wM1nKYPffddFvEbBTibjBY1NUEdP+IiTp6s/EmS4utsvhLSlN1WGaIpa/KI/rnLoYhhwsWUAzKaw4vbi5pgEZNv7bAEf9OkiYzhe7M8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SfmeyesdZzCxKDeQkcq/7e/G29nZ35rTujUVDY2z/R8RNpqKWUG6HZOupqBvwoYM2t1fehdac0tTH1uQb3Rygi3XCBHQSa00FnvULwCvJ6+uwaUGyv++lXc6b8M0ithBPdVaKn9FKmd67QbvzVsbr7I9wUMzVP7FRG2S3RWqixY= Received: by 10.90.100.2 with SMTP id x2mr573043agb.1187662863868; Mon, 20 Aug 2007 19:21:03 -0700 (PDT) Received: by 10.64.48.11 with HTTP; Mon, 20 Aug 2007 19:21:03 -0700 (PDT) Message-ID: Date: Tue, 21 Aug 2007 10:21:03 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <87tzquuwsd.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87tzquuwsd.fsf@xs4all.nl> X-Detected-Kernel: Linux 2.6 (newer, 2) Subject: Re: [PATCH] bug fix for the ntfs driver X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 02:21:08 -0000 Hi, The problem is caused by the structure of compressed files. In ntfs, 16 clusters is the basic compressed unit. The original code assume that the file will break in 16 cluster long blocks, but in fact, the blocks will be merged if they are stored next to to each other on disk. The new code fix this problem. * fs/ntfs.c (read_block): Fix a bug caused by adjacent blocks. On 8/20/07, Marco Gerards wrote: > Bean writes: > > Hi Bean, > > > This patch fix a bug in the ntfs driver which occurs when accessing > > certain compressed files. > > Sorry again for the late reply... > > > 2007-08-16 Bean > > > > * fs/ntfs.c (read_block): Bug fix for compressed files. > > Please describe in the changelog entry what changed, not the > functional effect. Examples can be: > > - Fix off-by-one error. > - Initialize variable to 9. > - Check if memory allocation fails, in that case return an error. > > etc. > > Unfortunately I do not understand your change, why it is required and > what the error was. Can you please update the changelog entry? > > Thanks, > Marco > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Bean