From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84ABDC2D0C0 for ; Mon, 23 Dec 2019 21:40:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 507D020828 for ; Mon, 23 Dec 2019 21:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577137220; bh=X3NyWEI0SJTpJz3TiMVbSoP0Oa+xFcUCJzdjXt6mWpA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=sPnSrSw/Q8Tp2BF46QYL82b69pwfG6G3RR3x+Z+G3vASq8cMOvEgHiP7nZpH7eUcE Q//+DzsVRk4kLv6P7uFy3c4K7vTBcxXvOBaLCr5k7xMJzwnjbMyOYkzhx4aviN26D3 z3knXl6TCgcGchx/Q6FDwlOY/C0a2VC6HJMiN2Ps= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbfLWVkT (ORCPT ); Mon, 23 Dec 2019 16:40:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:52096 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726817AbfLWVkT (ORCPT ); Mon, 23 Dec 2019 16:40:19 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 91C5F206CB; Mon, 23 Dec 2019 21:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577137218; bh=X3NyWEI0SJTpJz3TiMVbSoP0Oa+xFcUCJzdjXt6mWpA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xQoZqM1nSZejEaD9MsUPDBDjn5WJMl37J2tkwbKuIye9b4F/9+OV8WxY0WS/fRplc mnsjZCKymt7hUcoHj+bokAJeEqSEGHZZXFRH/oVcNL0HfGUEKL51JEsIRqa6PSFcQH r6UMOTFUwnxDrg4Xvqaf70CCvgW9BBgx5RbJfLC8= Date: Mon, 23 Dec 2019 16:40:17 -0500 From: Sasha Levin 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 Message-ID: <20191223214017.GA17708@sasha-vm> References: <1577121159274@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1577121159274@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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 . > >thanks, > >greg k-h > >------------------ original commit in Linus's tree ------------------ > >>From b6293c821ea8fa2a631a2112cd86cd435effeb8b Mon Sep 17 00:00:00 2001 >From: Dan Carpenter >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 >Reviewed-by: David Sterba >Signed-off-by: David Sterba 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