History

cifs: get rid of dead check in smb2_reconnect()

The SMB2_IOCTL check in the switch statement will never be true as we return earlier from smb2_reconnect() if @smb2_command == SMB2_IOCTL.

Paulo Alcantara committed 3 years ago

Commit e0367711 parent 09ba47b1 file · +0 −1Browse files

Unified · Split

fs/cifs/smb2pdu.c+0−1
@@ -310,7 +310,6 @@ out: · 309 unmodified lines
310310 case SMB2_READ:
311311 case SMB2_WRITE:
312312 case SMB2_LOCK:
313− case SMB2_IOCTL:
314313 case SMB2_QUERY_DIRECTORY:
315314 case SMB2_CHANGE_NOTIFY:
316315 case SMB2_QUERY_INFO:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t