All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: dan.carpenter@oracle.com, dsterba@suse.com, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] btrfs: return error pointer from alloc_test_extent_buffer" failed to apply to 4.19-stable tree
Date: Mon, 23 Dec 2019 16:40:17 -0500	[thread overview]
Message-ID: <20191223214017.GA17708@sasha-vm> (raw)
In-Reply-To: <1577121159274@kroah.com>

On Mon, Dec 23, 2019 at 12:12:39PM -0500, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From b6293c821ea8fa2a631a2112cd86cd435effeb8b Mon Sep 17 00:00:00 2001
>From: Dan Carpenter <dan.carpenter@oracle.com>
>Date: Tue, 3 Dec 2019 14:24:58 +0300
>Subject: [PATCH] btrfs: return error pointer from alloc_test_extent_buffer
>
>Callers of alloc_test_extent_buffer have not correctly interpreted the
>return value as error pointer, as alloc_test_extent_buffer should behave
>as alloc_extent_buffer. The self-tests were unaffected but
>btrfs_find_create_tree_block could call both functions and that would
>cause problems up in the call chain.
>
>Fixes: faa2dbf004e8 ("Btrfs: add sanity tests for new qgroup accounting code")
>CC: stable@vger.kernel.org # 4.4+
>Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>Reviewed-by: David Sterba <dsterba@suse.com>
>Signed-off-by: David Sterba <dsterba@suse.com>

Few conflicts on the backport mostly due to message formatting (such as
9e3d9f8462ef ("btrfs: tests: use standard error message after extent
buffer allocation failure") ). I've fixed them up and queued for
4.19-4.4.

-- 
Thanks,
Sasha

      reply	other threads:[~2019-12-23 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23 17:12 FAILED: patch "[PATCH] btrfs: return error pointer from alloc_test_extent_buffer" failed to apply to 4.19-stable tree gregkh
2019-12-23 21:40 ` Sasha Levin [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=20191223214017.GA17708@sasha-vm \
    --to=sashal@kernel.org \
    --cc=dan.carpenter@oracle.com \
    --cc=dsterba@suse.com \
    --cc=gregkh@linuxfoundation.org \
    --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.