Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264553AbUAFRrV (ORCPT ); Tue, 6 Jan 2004 12:47:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264559AbUAFRrU (ORCPT ); Tue, 6 Jan 2004 12:47:20 -0500 Received: from mta4.rcsntx.swbell.net ([151.164.30.28]:62592 "EHLO mta4.rcsntx.swbell.net") by vger.kernel.org with ESMTP id S264553AbUAFRrT (ORCPT ); Tue, 6 Jan 2004 12:47:19 -0500 Date: Tue, 6 Jan 2004 09:46:50 -0800 From: Mike Fedyk To: Jesper Juhl Cc: Hans Reiser , "Tigran A. Aivazian" , Hans Reiser , Daniel Pirkl , Russell King , Will Dyson , linux-kernel@vger.kernel.org, nikita@namesys.com Subject: Re: Suspected bug infilesystems (UFS,ADFS,BEFS,BFS,ReiserFS) related to sector_t being unsigned, advice requested Message-ID: <20040106174650.GD1882@matchmail.com> Mail-Followup-To: Jesper Juhl , Hans Reiser , "Tigran A. Aivazian" , Hans Reiser , Daniel Pirkl , Russell King , Will Dyson , linux-kernel@vger.kernel.org, nikita@namesys.com References: <3FFA7717.7080808@namesys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 22 On Tue, Jan 06, 2004 at 12:28:34PM +0100, Jesper Juhl wrote: > --- linux-2.6.1-rc1-mm2-orig/fs/reiserfs/inode.c 2004-01-06 01:33:08.000000000 +0100 > +++ linux-2.6.1-rc1-mm2/fs/reiserfs/inode.c 2004-01-06 12:16:16.000000000 +0100 > @@ -574,11 +574,6 @@ int reiserfs_get_block (struct inode * i > th.t_trans_id = 0 ; > version = get_inode_item_key_version (inode); > > - if (block < 0) { > - reiserfs_write_unlock(inode->i_sb); > - return -EIO; > - } > - Did you check the locking after this is removed? Maybe after the sector_t merges, this code covered a case that is left open now... - 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/