Skip to content

Commit 4772c79

Browse files
committed
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>
1 parent b0a752b commit 4772c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/smb2pdu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon)
280280
case SMB2_CHANGE_NOTIFY:
281281
case SMB2_QUERY_INFO:
282282
case SMB2_SET_INFO:
283-
return -EAGAIN;
283+
rc = -EAGAIN;
284284
}
285285
unload_nls(nls_codepage);
286286
return rc;

0 commit comments

Comments
 (0)