diff options
author | 2019-03-11 15:04:18 +0100 | |
---|---|---|
committer | 2019-03-18 16:29:52 +0100 | |
commit | d3ca4651d05c0ff7259d087d8c949bcf3e14fb46 (patch) | |
tree | 9a04ef010a6bd97547fe68d0f0ce55213612ab29 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Linux 5.1-rc1 (diff) | |
download | wireguard-linux-d3ca4651d05c0ff7259d087d8c949bcf3e14fb46.tar.xz wireguard-linux-d3ca4651d05c0ff7259d087d8c949bcf3e14fb46.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions