Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759394AbYHEDJt (ORCPT ); Mon, 4 Aug 2008 23:09:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755011AbYHEDJV (ORCPT ); Mon, 4 Aug 2008 23:09:21 -0400 Received: from topsns2.toshiba-tops.co.jp ([202.230.225.126]:14091 "EHLO topsns2.toshiba-tops.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbYHEDJU (ORCPT ); Mon, 4 Aug 2008 23:09:20 -0400 Date: Tue, 05 Aug 2008 12:09:09 +0900 (JST) Message-Id: <20080805.120909.139657748.nemoto@toshiba-tops.co.jp> To: viro@ZenIV.linux.org.uk Cc: djohnson@sw.starentnetworks.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: cramfs and named-pipe From: Atsushi Nemoto In-Reply-To: <20080804100347.GU28946@ZenIV.linux.org.uk> References: <20080804.182143.218269280.nemoto@toshiba-tops.co.jp> <20080804100347.GU28946@ZenIV.linux.org.uk> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 6.1 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1088 Lines: 25 On Mon, 4 Aug 2008 11:03:47 +0100, Al Viro wrote: > Eeek... I'd rather not play these games with directories and devices nodes > as well. Rationale for the original patch simply doesn't apply for those. > > IOW, I think it would be much saner if we did the following: make ..._test() > refuse to merge inodes with ->i_ino == 1, take inode setup back to > get_cramfs_inode() and make ->drop_inode() evict ones with ->i_ino == 1 > immediately. Comments? > > Patch below is completely untested; it builds, but that's it. Thanks, your patch works well for me. But it looks a bit large for stable tree (100 line rule). With current code, I think no problem on empty directories and device nodes. So how about fixing only FIFO case first (and send it to stable tree) and then go to your patch? --- Atsushi Nemoto -- 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/