summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-04-08 21:23:51 +0200
committerJan Kara <jack@suse.cz>2015-05-18 11:23:03 +0200
commit5ceb8b554dcaaf6844415cd2616ce2e0132530fa (patch)
treec80877de890e6f3ab8d47aae705d39401031efb8 /mm
parentMerge tag 'usb-4.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/greg... (diff)
downloadlinux-5ceb8b554dcaaf6844415cd2616ce2e0132530fa.tar.xz
linux-5ceb8b554dcaaf6844415cd2616ce2e0132530fa.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions