]> git.baikalelectronics.ru Git - kernel.git/commit
radix-tree: remove root->height
authorMatthew Wilcox <willy@linux.intel.com>
Sat, 21 May 2016 00:03:19 +0000 (17:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commit321d48c8f989ebc3f5757cdef784414a2f8fd64e
tree6807e6d2102ca79e4b53ff9903ada0ed652b4d38
parent8238e6fb003a38f8a29285ea21dd534c3f948a1f
radix-tree: remove root->height

The only remaining references to root->height were in extend and shrink,
where it was updated.  Now we can remove it entirely.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Jan Kara <jack@suse.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/radix-tree.h
lib/radix-tree.c