Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 24 Nov 2001 01:01:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 24 Nov 2001 01:01:38 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:30475 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sat, 24 Nov 2001 01:01:30 -0500 Date: Fri, 23 Nov 2001 21:55:42 -0800 (PST) From: Linus Torvalds To: Andrea Arcangeli cc: Alexander Viro , , Marcelo Tosatti Subject: Re: 2.4.15-pre9 breakage (inode.c) In-Reply-To: <20011124064739.J1324@athlon.random> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Nov 2001, Andrea Arcangeli wrote: > > --- 2.4.15pre9aa1/fs/inode.c.~1~ Thu Nov 22 20:48:23 2001 > +++ 2.4.15pre9aa1/fs/inode.c Sat Nov 24 06:30:20 2001 > @@ -1071,7 +1071,7 @@ > if (inode->i_state != I_CLEAR) > BUG(); > } else { > - if (!list_empty(&inode->i_hash) && sb && sb->s_root) { > + if (!list_empty(&inode->i_hash)) { > if (!(inode->i_state & (I_DIRTY|I_LOCK))) { > list_del(&inode->i_list); > list_add(&inode->i_list, &inode_unused); I have to say that I like this patch better myself - the added tests are not sensible, and just removing them seems to be the right thing. Linus - 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/