[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 12 Dec 2013 13:25:13 -0500
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 32/74] libext2fs: fix punching extents when there are no
left extents
On Tue, Dec 10, 2013 at 05:21:54PM -0800, Darrick J. Wong wrote:
> When deleting an entire extent, we cannot always slip to the previous
> leaf extent because there might not /be/ a previous extent.
> Attempting to correct for that error by asking for the 'current' leaf
> extent also doesn't work, because the failed attempt to change to the
> previous extent leaves us with no current extent.
>
> Fix this problem by recording the lblk of the next extent before
> deleting the current extent and _goto()ing to the next extent after
> the deletion.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
Thanks, applied.
- 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