Re: [PATCH] nfs: removed goto statement

From: Benjamin Coddington
Date: Fri May 20 2022 - 08:42:02 EST


On 20 May 2022, at 8:00, Javier Abrego Lorente wrote:

> final version, I promise.

Javier, please read "7) Centralized exiting of functions" in
Documentation/process/coding-style.rst. The maintainers are unlikely to
take this patch because it doesn't (my opinion) improve the readability, and
removing a goto isn't a valid reason on its own. The use of goto is an
acceptable practice in the linux kernel for some patterns.

Ben