udf: Propagate errors from udf_truncate_extents()
authorJan Kara <jack@suse.cz>
Mon, 11 Mar 2019 14:27:02 +0000 (15:27 +0100)
committerJan Kara <jack@suse.cz>
Mon, 18 Mar 2019 15:30:02 +0000 (16:30 +0100)
commit2b42be5eb24564227b15e66f54f088e5a26549c7
treeeeb32b8731b61f2ce1fb54ed52cc2a3801d2d1b7
parentd3ca4651d05c0ff7259d087d8c949bcf3e14fb46
udf: Propagate errors from udf_truncate_extents()

Make udf_truncate_extents() properly propagate errors to its callers and
let udf_setsize() handle the error properly as well. This lets userspace
know in case there's some error when truncating blocks.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c
fs/udf/truncate.c
fs/udf/udfdecl.h