summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2026-08-25 21:11:32 +0900
committerAndrew Morton <akpm@linux-foundation.org>2026-08-27 22:50:05 -0700
commit62b7f79cc5f279807f116665d7392bc0095cee58 (patch)
tree534bc29f7643041570c720f62f8b1ef8b7504108 /scripts/objdiff
parent1cd4c9188ee35d91629fb1fa8424d8dcff137d19 (diff)
downloadlinux-next-62b7f79cc5f279807f116665d7392bc0095cee58.tar.gz
linux-next-62b7f79cc5f279807f116665d7392bc0095cee58.zip
fat: fix fat_ent_write() for reverting the value
commit 64d9183203ee ("fat: restore original value when fat_ent_write failed") try to revert the fatent value to old value when got the error on mirror FAT. However it didn't work if the error is when writing the fatent bh. In that case, the bh is cleared the uptodate flag, so reuse bh is invalid. Fix this by reverting the fatent only if got the error on mirror FAT. Link: https://lore.kernel.org/87ik4yz9fv.fsf_-_@mail.parknet.co.jp Fixes: 64d9183203ee ("fat: restore original value when fat_ent_write failed") Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Reported-by: syzbot+e64c6472a3d96a75172a@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=e64c6472a3d96a75172a Reported-by: syzbot+26461e903494e689c24f@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=26461e903494e689c24f Cc: Yemu Lu <prcups@krgm.moe> Cc: Ren Wei <n05ec@lzu.edu.cn> Cc: Yuan Tan <yuantan098@gmail.com> Cc: Yifan Wu <yifanwucs@gmail.com> Cc: Juefei Pu <tomapufckgml@gmail.com> Cc: Xin Liu <bird@lzu.edu.cn> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions