Btrfs: make things static and include the right headers
Shut up various sparse warnings about symbols that should be either static or have their declarations in scope. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Chris Mason
parent
1ffa4f426c
commit
b2950863c6
@@ -217,7 +217,7 @@ int btrfs_copy_root(struct btrfs_trans_handle *trans,
|
||||
* this uses that block instead of allocating a new one. btrfs_alloc_reserved_extent
|
||||
* is used to finish the allocation.
|
||||
*/
|
||||
int noinline __btrfs_cow_block(struct btrfs_trans_handle *trans,
|
||||
static int noinline __btrfs_cow_block(struct btrfs_trans_handle *trans,
|
||||
struct btrfs_root *root,
|
||||
struct extent_buffer *buf,
|
||||
struct extent_buffer *parent, int parent_slot,
|
||||
|
Reference in New Issue
Block a user