All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jeff Mahoney <jeffm@suse.com>
Cc: stable@vger.kernel.org, Anand Jain <anand.jain@oracle.com>
Subject: Re: [PATCH 3.10.y] [FIX BAD BACKPORT] Btrfs: add missing brelse when superblock checksum fails
Date: Tue, 16 Jan 2018 17:58:40 +0100	[thread overview]
Message-ID: <20180116165840.GA7840@kroah.com> (raw)
In-Reply-To: <a6b0ad35-c2d1-63dc-c28d-3f327a7aaae2@suse.com>

On Tue, Jan 16, 2018 at 11:25:17AM -0500, Jeff Mahoney wrote:
> Commit b2acdddfad13c38a1e8b927d83c3cf321f63601a upstream.
> 
> linux-3.10.y commit bf00d124e07 (Btrfs: add missing brelse when
> superblock checksum fails) was misapplied to a later error handling
> site.  The result is that it doesn't actually free the buffer on
> checksum failure but does attempt to double free the buffer if
> unsupported features are used.
> 
> The backport of b2acdddfad1 in other branches is correct.
> 
> Cc: <stable@vger.kernel.org> # 3.10
> Cc: Anand Jain <anand.jain@oracle.com>
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> ---
>  fs/btrfs/disk-io.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

3.10 is long obsolete, sorry.

greg k-h

      reply	other threads:[~2018-01-16 16:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 16:25 [PATCH 3.10.y] [FIX BAD BACKPORT] Btrfs: add missing brelse when superblock checksum fails Jeff Mahoney
2018-01-16 16:58 ` Greg KH [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=20180116165840.GA7840@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=anand.jain@oracle.com \
    --cc=jeffm@suse.com \
    --cc=stable@vger.kernel.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.