The SMB2_IOCTL check in the switch statement will never be true as we return earlier from smb2_reconnect() if @smb2_command == SMB2_IOCTL.
Unified · Split
| @@ -310,7 +310,6 @@ out: · 309 unmodified lines | ||
| 310 | 310 | case SMB2_READ: |
| 311 | 311 | case SMB2_WRITE: |
| 312 | 312 | case SMB2_LOCK: |
| 313 | − case SMB2_IOCTL: | |
| 314 | 313 | case SMB2_QUERY_DIRECTORY: |
| 315 | 314 | case SMB2_CHANGE_NOTIFY: |
| 316 | 315 | case SMB2_QUERY_INFO: |