On Mon, Jan 26, 2015 at 11:37:37PM -0800, Darrick J. Wong wrote: > If the directory processing code ends up pointing to a directory entry > that's so close to the end of the block that there's not even space > for a rec_len/name_len, just substitute dummy values that will force > e2fsck to extend the previous entry to cover the remaining space. We > can't use the helper methods to extract rec_len because that's reading > off the end of the buffer. > > This isn't an issue with non-inline directories because the directory > check buffer is zero-extended so that fsck won't blow up. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Applied, thanks. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html