]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
btrfs: remove noinline from btrfs_update_inode()
authorFilipe Manana <fdmanana@suse.com>
Fri, 22 Sep 2023 10:37:20 +0000 (11:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:35:16 +0000 (18:35 +0200)
[ Upstream commit cddaaacca9339d2f13599a822dc2f68be71d2e0d ]

The noinline attribute of btrfs_update_inode() is pointless as the
function is exported and widely used, so remove it.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Stable-dep-of: 5f61b961599a ("btrfs: fix inode lookup error handling during log replay")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/inode.c

index e8e57abb032d7a112ece6dd78393dcb31ad88660..c80c918485547b3a865b8d965887f114845509df 100644 (file)
@@ -4014,9 +4014,9 @@ failed:
 /*
  * 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;