Re: [PATCH] fat: Refactor shortname parsing

From: OGAWA Hirofumi
Date: Mon Jul 02 2012 - 10:36:46 EST


"Steven J. Magnani" <steve@xxxxxxxxxxxxxxx> writes:

> True, but with the change you suggest we lose the incrementing of 'i',
> which likely would cause an infinite loop for 1:1 Unicode conversions.

You meant, we just have to do

if (!is_vfat)
ptname[i] = ...;
i++;

or something? I still feel this looks better to indicate, we don't use
ptname in the case of vfat.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/