Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753260AbdFSTUE (ORCPT + 2 others); Mon, 19 Jun 2017 15:20:04 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:52186 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752128AbdFSSfv (ORCPT ); Mon, 19 Jun 2017 14:35:51 -0400 From: Willy Tarreau To: linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux@roeck-us.net Cc: Pavel Shilovsky , Willy Tarreau Subject: [PATCH 3.10 022/268] CIFS: Fix missing nls unload in smb2_reconnect() Date: Mon, 19 Jun 2017 20:28:41 +0200 Message-Id: <1497897167-14556-23-git-send-email-w@1wt.eu> X-Mailer: git-send-email 2.8.0.rc2.1.gbe9624a In-Reply-To: <1497897167-14556-1-git-send-email-w@1wt.eu> References: <1497897167-14556-1-git-send-email-w@1wt.eu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Pavel Shilovsky commit 4772c79599564bd08ee6682715a7d3516f67433f upstream. Acked-by: Sachin Prabhu Signed-off-by: Pavel Shilovsky Signed-off-by: Willy Tarreau --- fs/cifs/smb2pdu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 133067c..886ce5c 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -254,7 +254,7 @@ out: case SMB2_CHANGE_NOTIFY: case SMB2_QUERY_INFO: case SMB2_SET_INFO: - return -EAGAIN; + rc = -EAGAIN; } unload_nls(nls_codepage); return rc; -- 2.8.0.rc2.1.gbe9624a