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>
parent
c7ad7c84
Please register or sign in to comment