path: root/ctree.h
diff options
authorNikolay Borisov <>2018-05-28 09:36:46 +0300
committerDavid Sterba <>2018-06-07 16:37:37 +0200
commit12e2280d7bef145859e4d208533056ec90af9a4e (patch)
treee3c096ebf8047f4064089eae36f7238e7f02c5f9 /ctree.h
parenta93d51ede72899694867d234b9f10cfee240974d (diff)
btrfs-progs: check: Remove unused root argument from btrfs_extent_post_op
This is no longer used by the callees of that function so remove it. Signed-off-by: Nikolay Borisov <> Reviewed-by: Su Yue <> Signed-off-by: David Sterba <>
Diffstat (limited to 'ctree.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/ctree.h b/ctree.h
index c833ad69..138cd22c 100644
--- a/ctree.h
+++ b/ctree.h
@@ -2504,8 +2504,7 @@ int btrfs_fix_block_accounting(struct btrfs_trans_handle *trans);
void btrfs_pin_extent(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes);
void btrfs_unpin_extent(struct btrfs_fs_info *fs_info,
u64 bytenr, u64 num_bytes);
-int btrfs_extent_post_op(struct btrfs_trans_handle *trans,
- struct btrfs_root *root);
+int btrfs_extent_post_op(struct btrfs_trans_handle *trans);
struct btrfs_block_group_cache *btrfs_lookup_block_group(struct
btrfs_fs_info *info,
u64 bytenr);