From: Jan Kara Date: Thu, 4 Sep 2014 14:15:51 +0000 (+0200) Subject: udf: Make udf_read_inode() and udf_iget() return error X-Git-Tag: fixes-for-v3.18-merge-window~153^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3d5e860a114ae606b1af2ba7f64cb19fbeb414;p=pandora-kernel.git udf: Make udf_read_inode() and udf_iget() return error Currently __udf_read_inode() wasn't returning anything and we found out whether we succeeded reading inode by checking whether inode is bad or not. udf_iget() returned NULL on failure and inode pointer otherwise. Make these two functions properly propagate errors up the call stack and use the return value in callers. Signed-off-by: Jan Kara --- Reading git-diff-tree failed