summaryrefslogtreecommitdiffstats
path: root/include/linux/dm-bufio.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-06-02 15:34:39 +0200
committerMike Snitzer <snitzer@redhat.com>2020-06-05 14:59:41 -0400
commit88f878e58879acfdad03e08776c9802f9cd6f26a (patch)
tree0d79653d0744398d1b48e019237872b6b6b3994e /include/linux/dm-bufio.h
parent40e9c5ac4e3d670799a247944c330e5126935a7c (diff)
downloadlinux-88f878e58879acfdad03e08776c9802f9cd6f26a.tar.gz
linux-88f878e58879acfdad03e08776c9802f9cd6f26a.tar.bz2
linux-88f878e58879acfdad03e08776c9802f9cd6f26a.zip
dm bufio: clean up rbtree block ordering
dm-bufio uses unnatural ordering in the rb-tree - blocks with smaller numbers were put to the right node and blocks with bigger numbers were put to the left node. Reverse that logic so that it's natural. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'include/linux/dm-bufio.h')
0 files changed, 0 insertions, 0 deletions