udf: improve error management in udf_CS0toUTF8()
authorFabian Frederick <fabf@skynet.be>
Wed, 8 Apr 2015 19:23:54 +0000 (21:23 +0200)
committerJan Kara <jack@suse.cz>
Mon, 18 May 2015 09:23:05 +0000 (11:23 +0200)
commite9d4cf411f7582537ed0038d0f32a8743b75e58a
treecce973fd1e174661934c3d691ac0280e231c7907
parentd67e4a481425106a43c8d3cef82a82cc31b4edd8
udf: improve error management in udf_CS0toUTF8()

udf_CS0toUTF8() now returns -EINVAL on error.
udf_load_pvoldesc() and udf_get_filename() do the same.

Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c
fs/udf/unicode.c