[PATCH] Factor out smbd_smb2_create_file from smbd_smb2_create_send

Ralph Böhme slow at samba.org
Sun Jul 16 07:23:15 UTC 2017


On Sat, Jul 15, 2017 at 03:44:50PM -0700, Richard Sharpe wrote:
> Why are you sending in the in_context_blobs as well as five individual
> create context blobs? Why not just the list of in_context_blobs?

because that would require five additional calls to smb2_create_blob_find which
would mean 5*x additional strcmps to search the list of context names.

Cheerio!
-slow



More information about the samba-technical mailing list