Re: [PATCH v2 0/2] Fix false warning in inode_to_wb

From: Andreas Gruenbacher
Date: Sat Apr 12 2025 - 12:37:46 EST


On Sat, Apr 12, 2025 at 4:21 PM Tetsuo Handa
<penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
> Please add
>
> Reported-by: syzbot+e14d6cd6ec241f507ba7@xxxxxxxxxxxxxxxxxxxxxxxxx
> Closes: https://syzkaller.appspot.com/bug?extid=e14d6cd6ec241f507ba7
>
> to both patches.

I'm quite reluctant to acknowledge syzbot for this. The bug has been
reported several times by several people, long before syzbot.

> Also,
>
> -static inline struct bdi_writeback *inode_to_wb(const struct inode *inode)
> +static inline struct bdi_writeback *inode_to_wb(struct inode *inode)
>
> change is not needed.

Ah, not anymore, indeed.

Thanks,
Andreas