Skip to content

Commit a57caf8

Browse files
evdenisJ. Bruce Fields
authored andcommitted
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: d48cf35 ("SUNRPC: Remove non-RCU protected lookup") Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent 7912344 commit a57caf8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/sunrpc/cache.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,6 @@ static void *cache_seq_next(struct seq_file *m, void *p, loff_t *pos)
13771377
hlist_first_rcu(&cd->hash_table[hash])),
13781378
struct cache_head, cache_list);
13791379
}
1380-
EXPORT_SYMBOL_GPL(cache_seq_next);
13811380

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

0 commit comments

Comments
 (0)