[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aI0vk_rEGGApi6Vi@shell.armlinux.org.uk>
Date: Fri, 1 Aug 2025 22:20:19 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Zhen Ni <zhen.ni@...ystack.cn>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs/adfs: bigdir: Restore EIO errno return when checkbyte
mismatch
On Fri, Aug 01, 2025 at 08:22:00PM +0100, Al Viro wrote:
> As it is, commit message fails to explain anything other than "smatch
> has been involved in catching this one". If you want to mention that,
> sure, but it's on the same level as "so-and-so told me this place
> looks fishy" - by all means, credit the contribution. Reported-by/
> caught-by/actually quoting smatch warning somewhere in the message -
> up to you, but that shouldn't be the entirety of commit message ;-)
Agree with everything you've said.
FWIW, the patch is definitely correct, but the commit text should
also have:
Fixes: d79288b4f61b ("fs/adfs: bigdir: calculate and validate directory checkbyte")
as that introduced the bug.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists