[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <005e01cf5a01$78bc0990$6a341cb0$@samsung.com>
Date: Thu, 17 Apr 2014 14:54:18 +0900
From: Namjae Jeon <namjae.jeon@...sung.com>
To: 'Lukas Czerner' <lczerner@...hat.com>
Cc: linux-ext4@...r.kernel.org
Subject: RE: [PATCH 2/5] ext4: fix removing status extents in
ext4_collapse_range()
> Currently in ext4_collapse_range() when calling ext4_es_remove_extent() to
> remove status extents we're passing (EXT_MAX_BLOCKS - punch_start - 1)
> in order to remove all extents from start of the collapse range to the
> end of the file. However this is wrong because we might miss the
> possible extent covering the last block of the file.
>
> Fix it by removing the -1.
>
> Signed-off-by: Lukas Czerner <lczerner@...hat.com>
Looks good to me!
Reviewed-by: Namjae Jeon <namjae.jeon@...sung.com>
Thanks Lukas.
--
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