> -----Original Message----- > From: Christoph Hellwig [mailto:[email protected]] > Sent: Sunday, August 13, 2017 3:24 AM > To: Long Li <[email protected]> > Cc: Steve French <[email protected]>; [email protected]; samba- > [email protected]; [email protected]; Long Li > <[email protected]> > Subject: Re: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no > payload > > On Wed, Aug 02, 2017 at 01:10:27PM -0700, Long Li wrote: > > From: Long Li <[email protected]> > > > > Implement the function to send a SMBD message with no payload. This is > required at times when we want to extend credtis to server to have it > continue to send data, without sending any actual data payload. > > Shouldn't this just be implemented as a special case in the version that posts > data?
It uses a different packet format "struct smbd_data_transfer_no_data". I can restructure some common code to share between packet sending functions.

