mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-22 14:13:04 +00:00
btrfs-progs: Remove unnecessary parameter to clear_extent_uptodate
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
7c646c538e
commit
b2fbec8be1
@ -241,7 +241,7 @@ static int verify_parent_transid(struct extent_io_tree *io_tree,
|
||||
|
||||
ret = 1;
|
||||
out:
|
||||
clear_extent_buffer_uptodate(io_tree, eb);
|
||||
clear_extent_buffer_uptodate(eb);
|
||||
return ret;
|
||||
|
||||
}
|
||||
@ -976,7 +976,7 @@ static int setup_root_or_create_block(struct btrfs_fs_info *fs_info,
|
||||
btrfs_find_create_tree_block(fs_info, 0, nodesize);
|
||||
if (!info_root->node)
|
||||
return -ENOMEM;
|
||||
clear_extent_buffer_uptodate(NULL, info_root->node);
|
||||
clear_extent_buffer_uptodate(info_root->node);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -125,8 +125,7 @@ static inline int set_extent_buffer_uptodate(struct extent_buffer *eb)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int clear_extent_buffer_uptodate(struct extent_io_tree *tree,
|
||||
struct extent_buffer *eb)
|
||||
static inline int clear_extent_buffer_uptodate(struct extent_buffer *eb)
|
||||
{
|
||||
eb->flags &= ~EXTENT_UPTODATE;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user