[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110503151141.GC6462@thunk.org>
Date: Tue, 3 May 2011 11:11:41 -0400
From: Ted Ts'o <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 1/2] ext4: Fix fs corruption when make_indexed_dir()
fails
On Fri, Apr 29, 2011 at 11:23:32PM +0200, Jan Kara wrote:
> When make_indexed_dir() fails (e.g. because of ENOSPC) after it has
> allocated block for index tree root, we did not properly mark all
> changed buffers dirty. This lead to only some of these buffers
> being written out and thus effectively corrupting the directory.
>
> Fix the issue by marking all changed data dirty even in the error
> failure case.
>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, added to the ext4 tree.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists