From: Filipe Manana Date: Wed, 27 Sep 2023 11:09:24 +0000 (+0100) Subject: btrfs: remove noinline attribute from btrfs_cow_block() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7bff16e3ffd92ff9021938c5d0b2e9faf1c0e7e2;p=linux.git btrfs: remove noinline attribute from btrfs_cow_block() It's pointless to have the noiline attribute for btrfs_cow_block(), as the function is exported and widely used. So remove it. Signed-off-by: Filipe Manana Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 2d29a488d67df..49232b5263901 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -678,7 +678,7 @@ static inline int should_cow_block(struct btrfs_trans_handle *trans, * This version of it has extra checks so that a block isn't COWed more than * once per transaction, as long as it hasn't been written yet */ -noinline int btrfs_cow_block(struct btrfs_trans_handle *trans, +int btrfs_cow_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf, struct extent_buffer *parent, int parent_slot, struct extent_buffer **cow_ret,