aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-08-02 20:28:18 -0500
committerSteve French <stfrench@microsoft.com>2018-08-07 14:30:59 -0500
commitfd09b7d3b352105f08b8e02f7afecf7e816380ef (patch)
treeab7e3a43b2715df31acfb172fc2d2e608dc20fd5 /lib/netdev-notifier-error-inject.c
parentd258650004617fbd5dfe97d77d26fb37187d06e9 (diff)
smb3: Do not send SMB3 SET_INFO if nothing changed
An earlier commit had a typo which prevented the optimization from working: commit 18dd8e1a65dd ("Do not send SMB3 SET_INFO request if nothing is changing") Thank you to Metze for noticing this. Also clear a reserved field in the FILE_BASIC_INFO struct we send that should be zero (all the other fields in that struct were set or cleared explicitly already in cifs_set_file_info). Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> CC: Stable <stable@vger.kernel.org> # 4.9.x+ Reported-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions