[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091124153024.GJ2183@thunk.org>
Date: Tue, 24 Nov 2009 10:30:25 -0500
From: tytso@....edu
To: Akira Fujita <a-fujita@...jp.nec.com>
Cc: ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 1/3]ext4: Fix double-free of blocks with
EXT4_IOC_MOVE_EXT
On Wed, Nov 18, 2009 at 04:26:01PM +0900, Akira Fujita wrote:
> ext4: Fix double-free of blocks with EXT4_IOC_MOVE_EXT
>
> From: Akira Fujita <a-fujita@...jp.nec.com>
>
> ext4_move_extent() calls ext4_discard_preallocations() to discard inode PAs
> of orig and donor inodes in its beginning.
> But the following case (1-4 steps) triggers the double-free of blocks,
> so move ext4_discard_preallocations() to the end of ext4_move_extents().
Thanks, applied to the ext4 patch queue.
- 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