diff options
author | Jan Kara <jack@suse.cz> | 2014-09-04 16:15:51 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-09-04 21:36:35 +0200 |
commit | 6d3d5e860a114ae606b1af2ba7f64cb19fbeb414 (patch) | |
tree | 81d9443311a711bf56bc07f82cbd5328fcd376a7 /fs/Kconfig | |
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>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions