Re: [PATCH 2/4] Return better error codes fromvfat_valid_longname()

From: OGAWA Hirofumi
Date: Tue Nov 09 2004 - 12:36:58 EST


Rene Scharfe <rene.scharfe@xxxxxxxxxxxxxx> writes:

> At least ENAMETOOLONG and ENOENT are properly defined error codes. :)

Ah, yes. IIRC I already fixed the ENOENT case.
We shouldn't need "len == 0" check, right?

> Anyway, what do you think about the following patch? I just replaced
> EACCES by EINVAL.

Looks good.
--
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/