aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>2013-04-16 01:18:22 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:54:52 -0400
commitafe5fea72bd50b1df2e6a721ef50559427d42f2b (patch)
tree23c1d3f24f3e861c399425f72bc4929048467ed2 /fs/btrfs/ctree.h
parentd6a0a12684523d635e0530a9d70a1eba4b8c4fb9 (diff)
Btrfs: cleanup of function where fixup_low_keys() is called
If argument 'trans' is unnecessary in the function where fixup_low_keys() is called, 'trans' is deleted. Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index c3b15f8dca00..84d6d5cb02f6 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3183,8 +3183,7 @@ int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2);
3183int btrfs_previous_item(struct btrfs_root *root, 3183int btrfs_previous_item(struct btrfs_root *root,
3184 struct btrfs_path *path, u64 min_objectid, 3184 struct btrfs_path *path, u64 min_objectid,
3185 int type); 3185 int type);
3186void btrfs_set_item_key_safe(struct btrfs_trans_handle *trans, 3186void btrfs_set_item_key_safe(struct btrfs_root *root, struct btrfs_path *path,
3187 struct btrfs_root *root, struct btrfs_path *path,
3188 struct btrfs_key *new_key); 3187 struct btrfs_key *new_key);
3189struct extent_buffer *btrfs_root_node(struct btrfs_root *root); 3188struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
3190struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root); 3189struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root);
@@ -3223,9 +3222,7 @@ int btrfs_block_can_be_shared(struct btrfs_root *root,
3223void btrfs_extend_item(struct btrfs_trans_handle *trans, 3222void btrfs_extend_item(struct btrfs_trans_handle *trans,
3224 struct btrfs_root *root, struct btrfs_path *path, 3223 struct btrfs_root *root, struct btrfs_path *path,
3225 u32 data_size); 3224 u32 data_size);
3226void btrfs_truncate_item(struct btrfs_trans_handle *trans, 3225void btrfs_truncate_item(struct btrfs_root *root, struct btrfs_path *path,
3227 struct btrfs_root *root,
3228 struct btrfs_path *path,
3229 u32 new_size, int from_end); 3226 u32 new_size, int from_end);
3230int btrfs_split_item(struct btrfs_trans_handle *trans, 3227int btrfs_split_item(struct btrfs_trans_handle *trans,
3231 struct btrfs_root *root, 3228 struct btrfs_root *root,
@@ -3265,8 +3262,7 @@ static inline int btrfs_del_item(struct btrfs_trans_handle *trans,
3265 return btrfs_del_items(trans, root, path, path->slots[0], 1); 3262 return btrfs_del_items(trans, root, path, path->slots[0], 1);
3266} 3263}
3267 3264
3268void setup_items_for_insert(struct btrfs_trans_handle *trans, 3265void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
3269 struct btrfs_root *root, struct btrfs_path *path,
3270 struct btrfs_key *cpu_key, u32 *data_size, 3266 struct btrfs_key *cpu_key, u32 *data_size,
3271 u32 total_data, u32 total_size, int nr); 3267 u32 total_data, u32 total_size, int nr);
3272int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root 3268int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root