Aurelien, This didn't apply to current for-next when I tried applying it. Can you check and rebase the patch on current for-next? Seems ok otherwise. On Wed, Mar 24, 2021 at 3:57 AM Samuel Cabrero <scabrero@xxxxxxx> wrote: > > On Thu, 2021-03-18 at 18:55 +0100, Aurélien Aptel wrote: > > From: Aurelien Aptel <aaptel@xxxxxxxx> > > > > This commit doesn't change the logic of SWN. > > > > Add dummy implementation of SWN functions when SWN is disabled instead > > of using ifdef sections. > > > > The dummy functions get optimized out, this leads to clearer code and > > compile time type-checking regardless of config options with no > > runtime penalty. > > > > Leave the simple ifdefs section as-is. > > > > A single bitfield (bool foo:1) on its own will use up one int. Move > > tcon->use_witness out of ifdefs with the other tcon bitfields. > > > > Signed-off-by: Aurelien Aptel <aaptel@xxxxxxxx> > > Thanks Aurelien, it LGTM. > > Reviewed-by: Samuel Cabrero <scabrero@xxxxxxx> > > -- > Samuel Cabrero / SUSE Labs Samba Team > GPG: D7D6 E259 F91C F0B3 2E61 1239 3655 6EC9 7051 0856 > scabrero@xxxxxxxx > scabrero@xxxxxxx > -- Thanks, Steve