]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/rbtree_test.c
rbtree_test: add test for postorder iteration
authorCody P Schafer <cody@linux.vnet.ibm.com>
Wed, 11 Sep 2013 21:25:17 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:20 +0000 (15:59 -0700)
commita791a62fdf288b2658646e2052400d456874790e
tree8412e41213fca92c65f56e6f312ef8b9545cf35c
parent2b529089257705499207ce7da9d0e3ae26a844ba
rbtree_test: add test for postorder iteration

Just check that we examine all nodes in the tree for the postorder
iteration.

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Reviewed-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Cc: David Woodhouse <David.Woodhouse@intel.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Michel Lespinasse <walken@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/rbtree_test.c