diff options
author | Zhao Mengmeng <[email protected]> | 2024-10-01 19:54:25 +0800 |
---|---|---|
committer | Jan Kara <[email protected]> | 2024-10-02 14:32:29 +0200 |
commit | c226964ec786f3797ed389a16392ce4357697d24 (patch) | |
tree | add167e7ec4e9da31ed4ad4f8419900b815c6d01 /rust/helpers/build_bug.c | |
parent | b405c1e58b73981da0f8df03b00666b22b9397ae (diff) |
udf: refactor inode_bmap() to handle error
Refactor inode_bmap() to handle error since udf_next_aext() can return
error now. On situations like ftruncate, udf_extend_file() can now
detect errors and bail out early without resorting to checking for
particular offsets and assuming internal behavior of these functions.
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=7a4842f0b1801230a989
Tested-by: [email protected]
Signed-off-by: Zhao Mengmeng <[email protected]>
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions