This small patchset tries to solve error management in udf unicode and callsites.
Thanks a lot to Jan Kara for all suggestions and code reviewing ! V2: -Cc to lkml -Patch 2 and 8 updated (See commit log) -Adding patch 9 Of course this patchset would need extended testing. Fabian Frederick (9): udf: udf_get_filename(): return -ENOMEM when allocation fails udf: remove unneccessary test in udf_build_ustr_exact() udf: unicode: update function name in comments udf: improve error management in udf_CS0toUTF8() udf: improve error management in udf_CS0toNLS() udf: bug on exotic flag in udf_get_filename() udf: return error when newIndex is 0 in udf_translate_to_linux() udf: propagate udf_get_filename() errors udf: add function definition for udf_find_entry() fs/udf/dir.c | 2 +- fs/udf/namei.c | 85 +++++++++++++++++++++++++++++++++++++++++++------------- fs/udf/super.c | 23 +++++++++------ fs/udf/symlink.c | 3 ++ fs/udf/unicode.c | 52 +++++++++++++++++----------------- 5 files changed, 109 insertions(+), 56 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/