aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorGravatar Filipe Manana <fdmanana@suse.com> 2023-09-27 12:09:24 +0100
committerGravatar David Sterba <dsterba@suse.com> 2023-10-12 16:44:14 +0200
commit7bff16e3ffd92ff9021938c5d0b2e9faf1c0e7e2 (patch)
treec8b1860de28a4a5f9f204892eb5fafa992f11d95 /fs/btrfs/ctree.c
parentbtrfs: remove incomplete metadata_uuid conversion fixup logic (diff)
downloadlinux-7bff16e3ffd92ff9021938c5d0b2e9faf1c0e7e2.tar.gz
linux-7bff16e3ffd92ff9021938c5d0b2e9faf1c0e7e2.tar.bz2
linux-7bff16e3ffd92ff9021938c5d0b2e9faf1c0e7e2.zip
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 <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 2d29a488d67d..49232b526390 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,