Files
linux/fs/udf
Jan Kara c72e90d94a udf: Fix crash on IO error during truncate
commit d3ca4651d0 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-27 14:14:39 +09:00
..
2019-02-12 19:47:09 +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