Skip to content
Commit 6ce63836 authored by Fabian Frederick's avatar Fabian Frederick Committed by Jan Kara
Browse files

udf: Make udf_get_filename() return error instead of 0 length file name



Zero length file name isn't really valid. So check the length of the
final file name generated by udf_translate_to_linux() and return -EINVAL
instead of zero length file name. Update caller of udf_get_filename() to
not check for 0 return value.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 5dce54b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment