btrfs: switch args for comp_*_refs
authorJosef Bacik <josef@toxicpanda.com>
Thu, 19 Oct 2017 18:15:58 +0000 (14:15 -0400)
committerDavid Sterba <dsterba@suse.com>
Wed, 1 Nov 2017 19:45:35 +0000 (20:45 +0100)
commitc7ad7c843965d8691269f581e132633a4ca9ef91
treed4150fe735beb77a7efcf461a0a8a34e0fd4ad9a
parent69fe2d75dd91d0124ad2ab6e9fef07633bd730e0
btrfs: switch args for comp_*_refs

Make it more consistent, we want the inserted ref to be compared against
what's already in there.  This will make the order go from lowest seq ->
highest seq, which will make us more likely to make forward progress if
there's a seqlock currently held.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c