]> asedeno.scripts.mit.edu Git - linux.git/commit
sunrpc/cache: remove the exporting of cache_seq_next
authorDenis Efremov <efremov@linux.com>
Mon, 8 Jul 2019 16:14:23 +0000 (19:14 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 8 Jul 2019 23:23:17 +0000 (19:23 -0400)
commita57caf8c527f63459c1c70eb3cf55ac373adb88e
tree414d4c2fbe2651300bde0e5642b378463bc7c816
parent791234448d4798f589110c17d2baaf1bbcc56cb8
sunrpc/cache: remove the exporting of cache_seq_next

The function cache_seq_next is declared static and marked
EXPORT_SYMBOL_GPL, which is at best an odd combination. Because the
function is not used outside of the net/sunrpc/cache.c file it is
defined in, this commit removes the EXPORT_SYMBOL_GPL() marking.

Fixes: d48cf356a130 ("SUNRPC: Remove non-RCU protected lookup")
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/cache.c