diff options
author | Denis Efremov <efremov@linux.com> | 2019-07-08 18:14:23 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-09 01:23:17 +0200 |
commit | a57caf8c527f63459c1c70eb3cf55ac373adb88e (patch) | |
tree | 414d4c2fbe2651300bde0e5642b378463bc7c816 /net/sunrpc/cache.c | |
parent | nfsd: decode implementation id (diff) | |
download | linux-a57caf8c527f63459c1c70eb3cf55ac373adb88e.tar.xz linux-a57caf8c527f63459c1c70eb3cf55ac373adb88e.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | net/sunrpc/cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index d22328984853..ce14f26c58b1 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c @@ -1377,7 +1377,6 @@ static void *cache_seq_next(struct seq_file *m, void *p, loff_t *pos) hlist_first_rcu(&cd->hash_table[hash])), struct cache_head, cache_list); } -EXPORT_SYMBOL_GPL(cache_seq_next); void *cache_seq_start_rcu(struct seq_file *m, loff_t *pos) __acquires(RCU) |