commit | 6d3d5e860a114ae606b1af2ba7f64cb19fbeb414 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Sep 04 16:15:51 2014 +0200 |
committer | Jan Kara <jack@suse.cz> | Thu Sep 04 21:36:35 2014 +0200 |
tree | 81d9443311a711bf56bc07f82cbd5328fcd376a7 | |
parent | c03aa9f6e1f938618e6db2e23afef0574efeeb65 [diff] |
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 <jack@suse.cz>