Skip to content
Commit 6d3d5e86 authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatarJan Kara <jack@suse.cz>
parent c03aa9f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment