diff options
| author | Tetsuo Handa <[email protected]> | 2025-07-15 05:17:56 +0000 |
|---|---|---|
| committer | Viacheslav Dubeyko <[email protected]> | 2025-07-25 22:22:00 +0000 |
| commit | c7c6363ca186747ebc2df10c8a1a51e66e0e32d9 (patch) | |
| tree | 6eecec6180f37036d20f3b39e84bbf03b9f9525f /tools/lib/api/debug.h | |
| parent | hfsplus: don't set REQ_SYNC for hfsplus_submit_bio() (diff) | |
| download | kernel-c7c6363ca186747ebc2df10c8a1a51e66e0e32d9.tar.gz kernel-c7c6363ca186747ebc2df10c8a1a51e66e0e32d9.zip | |
hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
When the volume header contains erroneous values that do not reflect
the actual state of the filesystem, hfsplus_fill_super() assumes that
the attributes file is not yet created, which later results in hitting
BUG_ON() when hfsplus_create_attributes_file() is called. Replace this
BUG_ON() with -EIO error with a message to suggest running fsck tool.
Reported-by: syzbot <[email protected]>
Closes: https://syzkaller.appspot.com/bug?extid=1107451c16b9eb9d29e6
Signed-off-by: Tetsuo Handa <[email protected]>
Reviewed-by: Viacheslav Dubeyko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Viacheslav Dubeyko <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions
