]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f1a079e7c77dbaec46f3cfc254c7f244a4900ef
treed4150fe735beb77a7efcf461a0a8a34e0fd4ad9a
parentc65c1ab3c4fe3f51cb07111b212d35d8ec8741f4
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