commit | 5ceb8b554dcaaf6844415cd2616ce2e0132530fa | [log] [tgz] |
---|---|---|
author | Fabian Frederick <fabf@skynet.be> | Wed Apr 08 21:23:51 2015 +0200 |
committer | Jan Kara <jack@suse.cz> | Mon May 18 11:23:03 2015 +0200 |
tree | c80877de890e6f3ab8d47aae705d39401031efb8 | |
parent | c0655fe9b0901a968800f56687be3c62b4cce5d2 [diff] |
udf: Return -ENOMEM when allocation fails in udf_get_filename() Return -ENOMEM when allocation fails in udf_get_filename(). Update udf_pc_to_char(), udf_readdir(), and udf_find_entry() to handle the error appropriately. This allows us to pass appropriate error to userspace instead of corrupting symlink contents by omitting some path elements. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>