radix tree: constify some pointers
authorMatthew Wilcox <mawilcox@microsoft.com>
Mon, 19 Dec 2016 22:43:19 +0000 (17:43 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Sat, 28 Jan 2017 02:29:38 +0000 (21:29 -0500)
commit35534c869c62f59203c1822769bbef14e894a9e9
treeb0e55e9d32e29560984b1140c3a44d8ebcf1bad3
parent15f2e88ddd4bc9b2c6b6236162993b5caa80abb9
radix tree: constify some pointers

If we're just getting the value of a tag, or looking up an entry,
we won't modify the radix tree, so we can declare these functions as
taking a const pointer.  Mostly for documentation purposes, though it
might help code generation.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
include/linux/radix-tree.h
lib/radix-tree.c