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

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: default avatarjean-luc malet <jeanluc.malet@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 9e98c678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment