summaryrefslogtreecommitdiff
path: root/scripts
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-10-06 19:02:51 -0700
commit63c4b67ee163b2a67a7561314bf2106d6c79c53c (patch)
tree2eeb582df562062e2667da4569e34a614241f513 /scripts
parent405c00e43a9c72a0b9b318cc2d2e298386ffb58e (diff)
downloadlinux-next-63c4b67ee163b2a67a7561314bf2106d6c79c53c.tar.gz
linux-next-63c4b67ee163b2a67a7561314bf2106d6c79c53c.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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> 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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions