Skip to content
Commit dbf128cb authored by Cody P Schafer's avatar Cody P Schafer Committed by Linus Torvalds
Browse files

rbtree/test: move rb_node to the middle of the test struct



Avoid making the rb_node the first entry to catch some bugs around NULL
checking the rb_node.

Signed-off-by: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 56abde72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment