From patchwork Fri Sep 22 10:37:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Manana X-Patchwork-Id: 13395500 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 B0240CD4F58 for ; Fri, 22 Sep 2023 10:37:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233380AbjIVKhr (ORCPT ); Fri, 22 Sep 2023 06:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233360AbjIVKhj (ORCPT ); Fri, 22 Sep 2023 06:37:39 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2CDF180 for ; Fri, 22 Sep 2023 03:37:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1C38C433CA for ; Fri, 22 Sep 2023 10:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695379052; bh=4yzHn+H4coxQ7pJvHFrIwhY2XlutsNk7ePQVuM0Vaic=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PMwj8VjAGZcZavdKyML3q49p8cO1GOmRGAJomfkDIa6nGniNSA/f31PaTthr3oant GCy/q+f689c4gqohB7dXy8devqFi+nhGxZOXIjERNe4oHdIplQT09BMN4fys+norBI ZesOCI3enQALmyIYYXC2Awy4ucl8Wd/ccn0TMlhT1ynQshrmHDuSG0gd6sBi7Zn2r/ 0hXhQgB37cNv2sIwP0Hf4t2Lm+nlGOnCb0yB2SQ5ncahNTEduiiFu9IiMt8LAVc4EN TkLgRi00c5rOjLbagPyGHPwYS/zpWXqhaGop5xiHyapJbMqEaJE+26jdwba1iSavg9 j+YxwkHVpwlUg== From: fdmanana@kernel.org To: linux-btrfs@vger.kernel.org Subject: [PATCH 2/8] btrfs: remove noline from btrfs_update_inode() Date: Fri, 22 Sep 2023 11:37:20 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Filipe Manana The noinline attribute of btrfs_update_inode() is pointless as the function is exported and widely used, so remove it. Signed-off-by: Filipe Manana Reviewed-by: Qu Wenruo --- fs/btrfs/inode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f16dfeabeaf0..fb7d7d0077f0 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4001,9 +4001,9 @@ static noinline int btrfs_update_inode_item(struct btrfs_trans_handle *trans, /* * copy everything in the in-memory inode into the btree. */ -noinline int btrfs_update_inode(struct btrfs_trans_handle *trans, - struct btrfs_root *root, - struct btrfs_inode *inode) +int btrfs_update_inode(struct btrfs_trans_handle *trans, + struct btrfs_root *root, + struct btrfs_inode *inode) { struct btrfs_fs_info *fs_info = root->fs_info; int ret;