diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-04-08 19:23:57 (GMT) |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-05-18 09:23:06 (GMT) |
commit | 6ce638367382ea8015cf64619e9bca4e207ef36f (patch) | |
tree | eb5b4c45bd2078e8a53994b6237a9969cd5c2c57 /mm/zsmalloc.c | |
parent | 5dce54b71e6185dae07ad12ca17ce30aa64022cd (diff) | |
download | linux-6ce638367382ea8015cf64619e9bca4e207ef36f.tar.xz |
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: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions