summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-06-08 15:47:45 +0300
committerDavid Sterba <dsterba@suse.com>2018-08-06 15:01:46 +0200
commitdddc3f44c9b74695fb5860d9fdb246f5f78ebbaa (patch)
tree31e8091303926a9ca3ea49cd7060002c191a9563 /ctree.h
parent819ac5393149a1c8b09a58f84214395071929b5c (diff)
btrfs-progs: Remove root argument from btrfs_del_csums
It's not needed, since we can obtain a reference to fs_info from the passed transaction handle. This is needed by delayed refs code. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctree.h b/ctree.h
index 04a77550..7d4e9b63 100644
--- a/ctree.h
+++ b/ctree.h
@@ -2730,8 +2730,7 @@ int btrfs_del_inode_ref(struct btrfs_trans_handle *trans,
u64 ino, u64 parent_ino, u64 *index);
/* file-item.c */
-int btrfs_del_csums(struct btrfs_trans_handle *trans,
- struct btrfs_root *root, u64 bytenr, u64 len);
+int btrfs_del_csums(struct btrfs_trans_handle *trans, u64 bytenr, u64 len);
int btrfs_insert_file_extent(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
u64 objectid, u64 pos, u64 offset,