summaryrefslogtreecommitdiff
path: root/disk-io.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2016-09-28 16:30:04 +0800
committerDavid Sterba <dsterba@suse.com>2016-10-03 15:07:23 +0200
commitb2fbec8be11403d453dc36c392f8235daa0936bc (patch)
treeab654971155770641891561ed39fd331935d023f /disk-io.c
parent7c646c538e74ab7fc0eece14983e85031d1031d4 (diff)
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>
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-io.c b/disk-io.c
index 2052bb3d..29d22fb1 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -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;