On Mon, Jul 03, 2023 at 10:23:59AM +0100, David Woodhouse wrote:
On Thu, 2023-06-29 at 20:43 +0200, Greg Kroah-Hartman wrote:
From: David Woodhouse dwmw@amazon.co.uk
commit 6c26bd4384da24841bac4f067741bbca18b0fb74 upstream,
If mas_store_gfp() in the gather loop failed, the 'error' variable that ultimately gets returned was not being set. In many cases, its original value of -ENOMEM was still in place, and that was fine. But if VMAs had been split at the start or end of the range, then 'error' could be zero.
Change to the 'error = foo(); if (error) goto …' idiom to fix the bug.
Hrm, that isn't what the original commit message said. It said:
Change to the 'error = foo(); if (error) goto …' idiom to fix the bug.
This far into the 21st century, we don't see a lot of tools injecting Mojibake any more; the mantra of "everything is UTF-8, all of the time" mostly seems to work.
Granted, there are more important problems in the world, but it'd be good to identify where that happened and file bugs if needed.
This is probably due to me going from 'git format-patch' to 'quit import' and then to 'git am' as part of the workflow I use here. I'll try to narrow it down as to where this went wrong...
thanks,
greg k-h