diff options
author | Ross Kirk <ross.kirk@gmail.com> | 2013-09-24 05:12:38 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:54:16 -0500 |
commit | 0a4e558609dd4df30a58a07d9eb14c5ddc2c1241 (patch) | |
tree | 1d17d22fd472991fb3f6f707f06eea9ccc8123a9 /fs/btrfs/ctree.c | |
parent | 724e2315db3d59a8201d4a87c7c7a873e60e1ce0 (diff) |
btrfs: remove unused parameter from btrfs_header_fsid
Remove unused parameter, 'eb'. Unused since introduction in
5f39d397dfbe140a14edecd4e73c34ce23c4f9ee
Updated to be rebased against current upstream and correct diff supplied this time!
Signed-off-by: Ross Kirk <ross.kirk@gmail.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 6932686b61cf..6c5239b55495 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -274,7 +274,7 @@ int btrfs_copy_root(struct btrfs_trans_handle *trans, | |||
274 | else | 274 | else |
275 | btrfs_set_header_owner(cow, new_root_objectid); | 275 | btrfs_set_header_owner(cow, new_root_objectid); |
276 | 276 | ||
277 | write_extent_buffer(cow, root->fs_info->fsid, btrfs_header_fsid(cow), | 277 | write_extent_buffer(cow, root->fs_info->fsid, btrfs_header_fsid(), |
278 | BTRFS_FSID_SIZE); | 278 | BTRFS_FSID_SIZE); |
279 | 279 | ||
280 | WARN_ON(btrfs_header_generation(buf) > trans->transid); | 280 | WARN_ON(btrfs_header_generation(buf) > trans->transid); |
@@ -996,7 +996,7 @@ static noinline int __btrfs_cow_block(struct btrfs_trans_handle *trans, | |||
996 | else | 996 | else |
997 | btrfs_set_header_owner(cow, root->root_key.objectid); | 997 | btrfs_set_header_owner(cow, root->root_key.objectid); |
998 | 998 | ||
999 | write_extent_buffer(cow, root->fs_info->fsid, btrfs_header_fsid(cow), | 999 | write_extent_buffer(cow, root->fs_info->fsid, btrfs_header_fsid(), |
1000 | BTRFS_FSID_SIZE); | 1000 | BTRFS_FSID_SIZE); |
1001 | 1001 | ||
1002 | ret = update_ref_for_cow(trans, root, buf, cow, &last_ref); | 1002 | ret = update_ref_for_cow(trans, root, buf, cow, &last_ref); |
@@ -3152,7 +3152,7 @@ static noinline int insert_new_root(struct btrfs_trans_handle *trans, | |||
3152 | btrfs_set_header_backref_rev(c, BTRFS_MIXED_BACKREF_REV); | 3152 | btrfs_set_header_backref_rev(c, BTRFS_MIXED_BACKREF_REV); |
3153 | btrfs_set_header_owner(c, root->root_key.objectid); | 3153 | btrfs_set_header_owner(c, root->root_key.objectid); |
3154 | 3154 | ||
3155 | write_extent_buffer(c, root->fs_info->fsid, btrfs_header_fsid(c), | 3155 | write_extent_buffer(c, root->fs_info->fsid, btrfs_header_fsid(), |
3156 | BTRFS_FSID_SIZE); | 3156 | BTRFS_FSID_SIZE); |
3157 | 3157 | ||
3158 | write_extent_buffer(c, root->fs_info->chunk_tree_uuid, | 3158 | write_extent_buffer(c, root->fs_info->chunk_tree_uuid, |
@@ -3291,7 +3291,7 @@ static noinline int split_node(struct btrfs_trans_handle *trans, | |||
3291 | btrfs_set_header_backref_rev(split, BTRFS_MIXED_BACKREF_REV); | 3291 | btrfs_set_header_backref_rev(split, BTRFS_MIXED_BACKREF_REV); |
3292 | btrfs_set_header_owner(split, root->root_key.objectid); | 3292 | btrfs_set_header_owner(split, root->root_key.objectid); |
3293 | write_extent_buffer(split, root->fs_info->fsid, | 3293 | write_extent_buffer(split, root->fs_info->fsid, |
3294 | btrfs_header_fsid(split), BTRFS_FSID_SIZE); | 3294 | btrfs_header_fsid(), BTRFS_FSID_SIZE); |
3295 | write_extent_buffer(split, root->fs_info->chunk_tree_uuid, | 3295 | write_extent_buffer(split, root->fs_info->chunk_tree_uuid, |
3296 | btrfs_header_chunk_tree_uuid(split), | 3296 | btrfs_header_chunk_tree_uuid(split), |
3297 | BTRFS_UUID_SIZE); | 3297 | BTRFS_UUID_SIZE); |
@@ -4046,7 +4046,7 @@ again: | |||
4046 | btrfs_set_header_owner(right, root->root_key.objectid); | 4046 | btrfs_set_header_owner(right, root->root_key.objectid); |
4047 | btrfs_set_header_level(right, 0); | 4047 | btrfs_set_header_level(right, 0); |
4048 | write_extent_buffer(right, root->fs_info->fsid, | 4048 | write_extent_buffer(right, root->fs_info->fsid, |
4049 | btrfs_header_fsid(right), BTRFS_FSID_SIZE); | 4049 | btrfs_header_fsid(), BTRFS_FSID_SIZE); |
4050 | 4050 | ||
4051 | write_extent_buffer(right, root->fs_info->chunk_tree_uuid, | 4051 | write_extent_buffer(right, root->fs_info->chunk_tree_uuid, |
4052 | btrfs_header_chunk_tree_uuid(right), | 4052 | btrfs_header_chunk_tree_uuid(right), |