]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rbtree: move some implementation details from rbtree.h to rbtree.c
authorMichel Lespinasse <walken@google.com>
Mon, 8 Oct 2012 23:30:37 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:32 +0000 (16:22 +0900)
commitbf7ad8eeab995710c766df49c9c69a8592ca0216
tree737988d677b8ea408a44a58a949cc0e8eda02440
parentea5272f5c94fb2ee62f4f15a5b88eef6184cd506
rbtree: move some implementation details from rbtree.h to rbtree.c

rbtree users must use the documented APIs to manipulate the tree
structure.  Low-level helpers to manipulate node colors and parenthood are
not part of that API, so move them to lib/rbtree.c

[dwmw2@infradead.org: fix jffs2 build issue due to renamed __rb_parent_color field]
Signed-off-by: Michel Lespinasse <walken@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Daniel Santos <daniel.santos@pobox.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/jffs2/readinode.c
include/linux/rbtree.h
lib/rbtree.c