summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2016-11-29 20:30:58 +0100
committerPavel Shilovsky <pshilov@microsoft.com>2016-12-05 20:08:40 +0100
commit4772c79599564bd08ee6682715a7d3516f67433f (patch)
tree0167cd843db0733ba154727d78501bc6595e8fd6
parentCIFS: Decrease verbosity of ioctl call (diff)
downloadlinux-4772c79599564bd08ee6682715a7d3516f67433f.tar.xz
linux-4772c79599564bd08ee6682715a7d3516f67433f.zip
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>
-rw-r--r--fs/cifs/smb2pdu.c2
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;