summaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-ref.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-04-04 15:57:42 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 14:12:11 +0300
commit41d0bd3b5e73afbcee3cd7dcb6f3f0ec936f54d9 (patch)
tree32b9d4ba2eddcf51a9e837e93650e45a78836638 /fs/btrfs/delayed-ref.h
parentc065f5b1cf52d50b9518aa02c7e50415820895af (diff)
downloadlinux-41d0bd3b5e73afbcee3cd7dcb6f3f0ec936f54d9.tar.xz
btrfs: Drop delayed_refs argument from btrfs_check_delayed_seq
It's used to print its pointer in a debug statement but doesn't really bring any useful information to the error message. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.h')
-rw-r--r--fs/btrfs/delayed-ref.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h
index 7f00db50bd24..84cc007badd6 100644
--- a/fs/btrfs/delayed-ref.h
+++ b/fs/btrfs/delayed-ref.h
@@ -269,9 +269,7 @@ static inline void btrfs_delayed_ref_unlock(struct btrfs_delayed_ref_head *head)
struct btrfs_delayed_ref_head *
btrfs_select_ref_head(struct btrfs_trans_handle *trans);
-int btrfs_check_delayed_seq(struct btrfs_fs_info *fs_info,
- struct btrfs_delayed_ref_root *delayed_refs,
- u64 seq);
+int btrfs_check_delayed_seq(struct btrfs_fs_info *fs_info, u64 seq);
/*
* helper functions to cast a node into its container