All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sachin Prabhu <sprabhu-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Pavel Shilovsky <pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org>,
	linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/5] CIFS: Fix missing nls unload in smb2_reconnect()
Date: Mon, 05 Dec 2016 12:18:26 +0530	[thread overview]
Message-ID: <1480920506.3464.3.camel@redhat.com> (raw)
In-Reply-To: <1480467416-13636-3-git-send-email-pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org>

On Tue, 2016-11-29 at 16:56 -0800, Pavel Shilovsky wrote:
> Cc: Stable <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
> Signed-off-by: Pavel Shilovsky <pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org>

Acked-by: Sachin Prabhu <sprabhu-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

> ---
>  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 5ca5ea46..730d57b 100644
> --- a/fs/cifs/smb2pdu.c
> +++ b/fs/cifs/smb2pdu.c
> @@ -280,7 +280,7 @@ smb2_reconnect(__le16 smb2_command, struct
> cifs_tcon *tcon)
>  	case SMB2_CHANGE_NOTIFY:
>  	case SMB2_QUERY_INFO:
>  	case SMB2_SET_INFO:
> -		return -EAGAIN;
> +		rc = -EAGAIN;
>  	}
>  	unload_nls(nls_codepage);
>  	return rc;

  parent reply	other threads:[~2016-12-05  6:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30  0:56 [PATCH 0/5] Stable fixes Pavel Shilovsky
     [not found] ` <1480467416-13636-1-git-send-email-pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org>
2016-11-30  0:56   ` [PATCH 1/5] CIFS: Decrease verbosity of ioctl call Pavel Shilovsky
     [not found]     ` <1480467416-13636-2-git-send-email-pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org>
2016-12-05  6:30       ` Sachin Prabhu
2016-11-30  0:56   ` [PATCH 2/5] CIFS: Fix missing nls unload in smb2_reconnect() Pavel Shilovsky
     [not found]     ` <1480467416-13636-3-git-send-email-pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org>
2016-12-05  6:48       ` Sachin Prabhu [this message]
     [not found]         ` <1480920506.3464.3.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-05  8:02           ` Steve French
     [not found]             ` <CAH2r5msBN2Gh==g5BOC5Woe0WaNvXxug38tfvG4cGUvUo7MovA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-05 19:03               ` Pavel Shilovsky
     [not found]                 ` <CAKywueROW-494MfgyAo_8OHc0UOZxX510dGjk9DEDG-Fx1K-hQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-06  5:00                   ` Steve French
2016-11-30  0:56   ` [PATCH 3/5] CIFS: Fix a possible memory corruption in push locks Pavel Shilovsky
2016-11-30  0:56   ` [PATCH 4/5] CIFS: Fix a possible memory corruption during reconnect Pavel Shilovsky
2016-11-30  0:56   ` [PATCH 5/5] CIFS: Fix a possible double locking of mutex " Pavel Shilovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480920506.3464.3.camel@redhat.com \
    --to=sprabhu-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pshilov-0li6OtcxBFHby3iVrkZq2A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.