From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 27 Sep 2000 00:16:20 +0200 From: Marko Kreen Subject: Re: [CFT][PATCH] ext2 directories in pagecache Message-ID: <20000927001620.A26488@l-t.ee> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from viro@math.psu.edu on Tue, Sep 26, 2000 at 05:29:27PM -0400 Sender: owner-linux-mm@kvack.org Return-Path: To: Alexander Viro Cc: Linus Torvalds , Ingo Molnar , Andrea Arcangeli , Rik van Riel , Roger Larsson , Alexander Viro , MM mailing list , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org List-ID: On Tue, Sep 26, 2000 at 05:29:27PM -0400, Alexander Viro wrote: > Comments and help in testing are more than welcome. There is something fishy in ext2_empty_dir: + /* check for . and .. */ + if (de->name[0] != '.') + goto not_empty; + if (!de->name[1]) { + if (de->inode != + le32_to_cpu(inode->i_ino)) + goto not_empty; + } else if (de->name[2]) + goto not_empty; + else if (de->name[1] != '.') + goto not_empty; -- marko -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/