Skip to content

Commit

Permalink
CIFS: Fix missing nls unload in smb2_reconnect()
Browse files Browse the repository at this point in the history
Cc: Stable <[email protected]>
Acked-by: Sachin Prabhu <[email protected]>
Signed-off-by: Pavel Shilovsky <[email protected]>
  • Loading branch information
piastry committed Dec 5, 2016
1 parent b0a752b commit 4772c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/cifs/smb2pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon)
case SMB2_CHANGE_NOTIFY:
case SMB2_QUERY_INFO:
case SMB2_SET_INFO:
return -EAGAIN;
rc = -EAGAIN;
}
unload_nls(nls_codepage);
return rc;
Expand Down

0 comments on commit 4772c79

Please sign in to comment.