]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit99623f72b973568736e1113edf972bb34d100f3f
treeeeb32b8731b61f2ce1fb54ed52cc2a3801d2d1b7
parent0bc6f70c006820e15ad5db81c7eb17871a1e52ef
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