tentatively merged into cifs-2.6.git for-next pending testing On Tue, Aug 23, 2022 at 12:23 PM Paulo Alcantara <pc@xxxxxx> wrote: > > Zhang Xiaoxu <zhangxiaoxu5@xxxxxxxxxx> writes: > > > > > *** BLURB HERE *** > > The unfolded expression of header_preamble_size is too long, in addition, > > some expressions have specific semantics, e.g.: > > calculate the position of the mid, > > confirm it's smb2+ server or not. > > > > Zhang Xiaoxu (3): > > cifs: Use help macro to get the header preamble size > > cifs: Use help macro to get the mid header size > > cifs: Add helper function to check smb2+ server > > > > fs/cifs/cifsencrypt.c | 3 +-- > > fs/cifs/cifsglob.h | 7 +++++++ > > fs/cifs/connect.c | 28 +++++++++++----------------- > > fs/cifs/transport.c | 21 ++++++++++----------- > > 4 files changed, 29 insertions(+), 30 deletions(-) > > Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxx> -- Thanks, Steve