diff options
author | Josef Bacik <josef@toxicpanda.com> | 2017-10-19 21:15:59 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-11-01 22:45:35 +0300 |
commit | 1d148e5939f55c76d06108548c7c0226e55dde8e (patch) | |
tree | 17940e2cdbdc55ae521a1cce4bae65517e94f798 /fs/btrfs/backref.c | |
parent | c7ad7c843965d8691269f581e132633a4ca9ef91 (diff) | |
download | linux-1d148e5939f55c76d06108548c7c0226e55dde8e.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions