mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Steve French" <smfrench@gmail.com>
To: "Cyrill Gorcunov" <gorcunov@gmail.com>
Cc: "Steve French" <sfrench@samba.org>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] CIFS: fix unbalanced calls to Get/FreeXid
Date: Thu, 23 Aug 2007 20:42:13 -0500	[thread overview]
Message-ID: <524f69650708231842p2d8fab64u7021e9d68cda072e@mail.gmail.com> (raw)
In-Reply-To: <20070823163917.GB7222@cvg>

merged into cifs-2.6.git tree

On 8/23/07, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> This patch fixes unbalanced calls to GetXid/FreeXid.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
> ---
>
>  fs/cifs/cifsfs.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> index cabb6a5..2493cc4 100644
> --- a/fs/cifs/cifsfs.c
> +++ b/fs/cifs/cifsfs.c
> @@ -346,7 +346,7 @@ int cifs_xquota_set(struct super_block *sb, int quota_type, qid_t qid,
>         if (pTcon) {
>                 cFYI(1, ("set type: 0x%x id: %d", quota_type, qid));
>         } else {
> -               return -EIO;
> +               rc = -EIO;
>         }
>
>         FreeXid(xid);
>


-- 
Thanks,

Steve

      reply	other threads:[~2007-08-24  1:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23 16:39 Cyrill Gorcunov
2007-08-24  1:42 ` Steve French [this message]

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=524f69650708231842p2d8fab64u7021e9d68cda072e@mail.gmail.com \
    --to=smfrench@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=gorcunov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfrench@samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®