Message ID | 8ee8102f8cb59c53efbc93ae7bfd129a28c76b19.1695731843.git.fdmanana@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: some fixes and cleanups around btrfs_cow_block() | expand |
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 8619172bcba1..602da318ba11 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -672,7 +672,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,