sunrpc: make the function arg as const
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 17 Oct 2017 16:14:23 +0000 (18:14 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 27 Nov 2017 21:45:11 +0000 (16:45 -0500)
commitd34971a65b72619508f49cd237283e92f1c329d5
treeda7fa8a000ebed094b6e2cd276a6575e64e2b1f4
parentae254dac721d44c0bfebe2795df87459e2e88219
sunrpc: make the function arg as const

Make the struct cache_detail *tmpl argument of the function
cache_create_net as const as it is only getting passed to kmemup having
the argument as const void *.
Add const to the prototype too.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/cache.h
net/sunrpc/cache.c