diff options
| author | Jan Kara <jack@suse.cz> | 2019-03-11 15:04:18 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-09-11 14:26:37 +0200 |
| commit | 8da16c8e6e19f84f6a60a661f1508876df6cc148 (patch) | |
| tree | 40bb84ffe660631d668e53ad6ec590b1eb59f0ec /firmware/sb16 | |
| parent | 7cb802d5d043592c72e2f965bfa428c409fc47a2 (diff) | |
udf: Fix crash on IO error during truncate
commit d3ca4651d05c0ff7259d087d8c949bcf3e14fb46 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.
Change-Id: Ic11c99c11bc88c7a97f9b7cd741f13b8248fd925
Reported-by: jean-luc malet <jeanluc.malet@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'firmware/sb16')
0 files changed, 0 insertions, 0 deletions
