summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2016-11-29 11:30:58 -0800
committerPavel Shilovsky <pshilov@microsoft.com>2016-12-05 11:08:40 -0800
commit4772c79599564bd08ee6682715a7d3516f67433f (patch)
tree0167cd843db0733ba154727d78501bc6595e8fd6 /fs
parentb0a752b5ce76bd1d8b733a53757c3263511dcb69 (diff)
downloadtalos-obmc-linux-4772c79599564bd08ee6682715a7d3516f67433f.tar.gz
talos-obmc-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>
Diffstat (limited to 'fs')
-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;
OpenPOWER on IntegriCloud