btrfs: remove delayed_ref_node from ref_head
authorJosef Bacik <josef@toxicpanda.com>
Fri, 29 Sep 2017 19:43:57 +0000 (15:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:00 +0000 (12:28 +0100)
commitd278850eff3053ef166cf64c16f798dfe36278a2
treec0fa4167cbc6622b4caf5562ed1b74ea07c5b836
parentc1103f7a5d7a544dfdaca6102de68792909dc834
btrfs: remove delayed_ref_node from ref_head

This is just excessive information in the ref_head, and makes the code
complicated.  It is a relic from when we had the heads and the refs in
the same tree, which is no longer the case.  With this removal I've
cleaned up a bunch of the cruft around this old assumption as well.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
include/trace/events/btrfs.h