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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C037EC7EE23 for ; Mon, 12 Jun 2023 10:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232402AbjFLKcT (ORCPT ); Mon, 12 Jun 2023 06:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232254AbjFLKcB (ORCPT ); Mon, 12 Jun 2023 06:32:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 909885B93 for ; Mon, 12 Jun 2023 03:13:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 749BC61F5E for ; Mon, 12 Jun 2023 10:03:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85320C43443; Mon, 12 Jun 2023 10:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686564206; bh=D98Iiiu7+09Jz22ohpv9bj6YPgwnw+2lTWx/ae9kdy0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xLjdlc8xA9jRricAiMHRV9UEmnfu6VBFWq3mlPofzq1WYel/579r/XAJUq9vzXxKv cqxdBoCdkngpvHeIJIYLDbUfHNHsN+LJUA1il3T6/bbkCCQjFABsiFolIq9gJrgw0j pKKGiKsPRbnLlHqP4KHra/IGcx2XpufC/zlsqZtM= Date: Mon, 12 Jun 2023 12:03:24 +0200 From: Greg KH To: Stefan Ghinea Cc: stable@vger.kernel.org, Josef Bacik , David Sterba Subject: Re: [PATCH 5.10 PATCH 1/2] btrfs: check return value of btrfs_commit_transaction in relocation Message-ID: <2023061212-favored-jaywalker-3645@gregkh> References: <20230608211959.8378-1-stefan.ghinea@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230608211959.8378-1-stefan.ghinea@windriver.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, Jun 09, 2023 at 12:19:58AM +0300, Stefan Ghinea wrote: > From: Josef Bacik > > commit fb686c6824dd6294ca772b92424b8fba666e7d00 upstream > > There are a few places where we don't check the return value of > btrfs_commit_transaction in relocation.c. Thankfully all these places > have straightforward error handling, so simply change all of the sites > at once. > > Reviewed-by: Qu Wenruo > Signed-off-by: Josef Bacik > Reviewed-by: David Sterba > Signed-off-by: David Sterba > Signed-off-by: Stefan Ghinea > --- > fs/btrfs/relocation.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) All backports now queued up, thanks. greg k-h