diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2016-11-29 11:30:58 -0800 |
---|---|---|
committer | Pavel Shilovsky <pshilov@microsoft.com> | 2016-12-05 11:08:40 -0800 |
commit | 4772c79599564bd08ee6682715a7d3516f67433f (patch) | |
tree | 0167cd843db0733ba154727d78501bc6595e8fd6 /fs/cifs | |
parent | b0a752b5ce76bd1d8b733a53757c3263511dcb69 (diff) | |
download | linux-4772c79599564bd08ee6682715a7d3516f67433f.tar.bz2 |
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>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 5ca5ea4668a1..730d57b0ffd4 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -280,7 +280,7 @@ out: case SMB2_CHANGE_NOTIFY: case SMB2_QUERY_INFO: case SMB2_SET_INFO: - return -EAGAIN; + rc = -EAGAIN; } unload_nls(nls_codepage); return rc; |