Jan Kara d3ca4651d0 udf: Fix crash on IO error during truncate
When truncate(2) hits IO error when reading indirect extent block the
code just bugs with:

kernel BUG at linux-4.15.0/fs/udf/truncate.c:249!
...

Fix the problem by bailing out cleanly in case of IO error.

CC: stable@vger.kernel.org
Reported-by: jean-luc malet <jeanluc.malet@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2019-03-18 16:29:52 +01:00
..
2018-12-12 15:48:49 +01:00
2018-04-19 16:00:48 +02:00
2017-01-10 11:57:34 +01:00
2009-06-11 21:36:13 -04:00
2018-09-07 10:32:23 +02:00