mirror of
https://github.com/torvalds/linux
synced 2024-10-17 00:39:37 +00:00
CIFS: Fix missing nls unload in smb2_reconnect()
Cc: Stable <stable@vger.kernel.org> Acked-by: Sachin Prabhu <sprabhu@redhat.com> Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
This commit is contained in:
parent
b0a752b5ce
commit
4772c79599
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue