Re: smb: client: Simplify a return statement in get_smb2_acl_by_path()

From: Steve French
Date: Thu Oct 09 2025 - 10:10:35 EST


On Thu, Oct 9, 2025 at 9:00 AM Markus Elfring <Markus.Elfring@xxxxxx> wrote:
>
> > Three of the four you just sent today, grow the code slightly,
>
> How much will this observation matter?

Remember the goals here, the priorities:
1) Fixes for bugs
2) Performance improvements
3) Features that add support for missing Linux requirements (e.g.
adding O_TMPFILE or "rename_exchange support)
and then lower priority but still somewhat useful:
4) cleanup patches that remove unneeded code (although has to be
balanced against how it can hurt backports of important fixes),
ie cleanup that makes code *smaller* and therefore slightly easier to
read and maintain
5) cleanup code that adds or updates comments clarifying confusing code

Obviously "cleanup" patches that don't shrink code are often useless
(as they potentially break backports of patches for no value).




--
Thanks,

Steve