Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759636AbZAMNIh (ORCPT ); Tue, 13 Jan 2009 08:08:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756534AbZAMNIJ (ORCPT ); Tue, 13 Jan 2009 08:08:09 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:39472 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756163AbZAMNII (ORCPT ); Tue, 13 Jan 2009 08:08:08 -0500 Date: Tue, 13 Jan 2009 14:08:07 +0100 From: Pavel Machek To: Jan Kara Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH] ext2: Update also inode on disk when dir is IS_DIRSYNC Message-ID: <20090113130807.GC30352@atrey.karlin.mff.cuni.cz> References: <1231850522-11074-1-git-send-email-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231850522-11074-1-git-send-email-jack@suse.cz> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 714 Lines: 18 > We used to just write changed page for IS_DIRSYNC inodes. But we also have to > update directory inode itself just for the case that we've allocated a new > block and changed i_size. > > Signed-off-by: Jan Kara > CC: Pavel Machek Tested, and I can't break ext2 in simple tests now. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/