Re: [PATCH 2/5] fs: affs: initialize fsdata in affs_truncate()

Eric Biggers
2022-11-21T19:47:03Z

On Mon, Nov 21, 2022 at 12:21:31PM +0100, Alexander Potapenko wrote:
> When aops->write_begin() does not initialize fsdata, KMSAN may report
> an error passing the latter to aops->write_end().
>
> Fix this by unconditionally initializing fsdata.
>
> Suggested-by: Eric Biggers <ebiggers@kernel.org>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")

Are you sure that is the correct Fixes commit? What about commit f2b6a16eb8f5
("fs: affs convert to new aops")?

- Eric