]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec2f55b2c460cf0c34ff259bb5d06ad2d6553c86
treec0fa4167cbc6622b4caf5562ed1b74ea07c5b836
parent83f217d436647155fe5f6fcdfaaa2c6d33cdcb2b
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