summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2017-10-19 14:15:59 -0400
committerDavid Sterba <dsterba@suse.com>2017-11-01 20:45:35 +0100
commit1d148e5939f55c76d06108548c7c0226e55dde8e (patch)
tree17940e2cdbdc55ae521a1cce4bae65517e94f798 /fs/btrfs/backref.c
parentc7ad7c843965d8691269f581e132633a4ca9ef91 (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>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions