commit | 1d148e5939f55c76d06108548c7c0226e55dde8e | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Thu Oct 19 14:15:59 2017 -0400 |
committer | David Sterba <dsterba@suse.com> | Wed Nov 01 20:45:35 2017 +0100 |
tree | 17940e2cdbdc55ae521a1cce4bae65517e94f798 | |
parent | c7ad7c843965d8691269f581e132633a4ca9ef91 [diff] |
btrfs: add a comp_refs() helper Instead of open-coding the delayed ref comparisons, add a helper to do the comparisons generically and use that everywhere. We compare sequence numbers last for following patches. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>