On Fri, Sep 16, 2011 at 03:49:17PM -0500, Eric Sandeen wrote: > The name_len field in ext2_dir_entry is actually comprised of > the name length in the lower 8 bytes, and the filetype in the > high 8 bytes. So in places, we mask name_len with 0xFF to > get the actual length. > > But once we have masked name_len with 0xFF, there is no point > in testing whether it is greater than EXT2_NAME_LEN, which > is 255 - or 0xFF. So all of these tests are extraneous. > > Signed-off-by: Eric Sandeen <sandeen@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