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 /drivers/i2c/i2c-boardinfo.c | |
parent | udf: Avoid infinite loop when processing indirect ICBs (diff) | |
download | linux-6d3d5e860a114ae606b1af2ba7f64cb19fbeb414.tar.xz linux-6d3d5e860a114ae606b1af2ba7f64cb19fbeb414.zip |
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 'drivers/i2c/i2c-boardinfo.c')
0 files changed, 0 insertions, 0 deletions