Commit a57caf8c authored by Denis Efremov's avatar Denis Efremov Committed by J. Bruce Fields
Browse files

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: d48cf356 ("SUNRPC: Remove non-RCU protected lookup")
Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 79123444
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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])),
				hlist_first_rcu(&cd->hash_table[hash])),
				struct cache_head, cache_list);
				struct cache_head, cache_list);
}
}
EXPORT_SYMBOL_GPL(cache_seq_next);


void *cache_seq_start_rcu(struct seq_file *m, loff_t *pos)
void *cache_seq_start_rcu(struct seq_file *m, loff_t *pos)
	__acquires(RCU)
	__acquires(RCU)