]> git.baikalelectronics.ru Git - kernel.git/commit
radix-tree: tidy up range_tag_if_tagged
authorMatthew Wilcox <willy@linux.intel.com>
Sat, 21 May 2016 00:03:39 +0000 (17:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commit2e948256fd5761bfdbe8d2f321ff69fe16b8c476
tree71b242a4d20cd9e56158d5f48b58fafb22fc3c4a
parent7154f5a8923db5bb084d3bc3b9f55043c78e8be1
radix-tree: tidy up range_tag_if_tagged

Convert radix_tree_range_tag_if_tagged to name the nodes parent, node
and child instead of node & slot.

Use parent->offset instead of playing games with 'upindex'.

Signed-off-by: Matthew Wilcox <willy@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>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/radix-tree.c