aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab_common.c
diff options
context:
space:
mode:
authorWanpeng Li <liwanp@linux.vnet.ibm.com>2013-07-07 20:08:28 -0400
committerPekka Enberg <penberg@kernel.org>2013-07-08 04:02:17 -0400
commit276a2439ce7917b8c3043af7ad6bf17bbcc24030 (patch)
treea8349275ddc91336c949550e32f739caef0debd9 /mm/slab_common.c
parentc1e854e924f354657ea2ad08fd7b38aac81c59b1 (diff)
mm/slab: Give s_next and s_stop slab-specific names
Give s_next and s_stop slab-specific names instead of exporting "s_next" and "s_stop". Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab_common.c')
-rw-r--r--mm/slab_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c
index 13ae037c71d4..eacdffaf71c9 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -536,12 +536,12 @@ static void *s_start(struct seq_file *m, loff_t *pos)
536 return seq_list_start(&slab_caches, *pos); 536 return seq_list_start(&slab_caches, *pos);
537} 537}
538 538
539void *s_next(struct seq_file *m, void *p, loff_t *pos) 539void *slab_next(struct seq_file *m, void *p, loff_t *pos)
540{ 540{
541 return seq_list_next(p, &slab_caches, pos); 541 return seq_list_next(p, &slab_caches, pos);
542} 542}
543 543
544void s_stop(struct seq_file *m, void *p) 544void slab_stop(struct seq_file *m, void *p)
545{ 545{
546 mutex_unlock(&slab_mutex); 546 mutex_unlock(&slab_mutex);
547} 547}
@@ -618,8 +618,8 @@ static int s_show(struct seq_file *m, void *p)
618 */ 618 */
619static const struct seq_operations slabinfo_op = { 619static const struct seq_operations slabinfo_op = {
620 .start = s_start, 620 .start = s_start,
621 .next = s_next, 621 .next = slab_next,
622 .stop = s_stop, 622 .stop = slab_stop,
623 .show = s_show, 623 .show = s_show,
624}; 624};
625 625