From: Fabian Frederick Date: Wed, 8 Apr 2015 19:23:51 +0000 (+0200) Subject: udf: Return -ENOMEM when allocation fails in udf_get_filename() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~128^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ceb8b554dcaaf6844415cd2616ce2e0132530fa;p=pandora-kernel.git 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 Signed-off-by: Jan Kara --- Reading git-diff-tree failed