aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slab.c4
-rw-r--r--mm/slab.h4
-rw-r--r--mm/slab_common.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 9bf225162fcb..57ab42297d96 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4440,8 +4440,8 @@ static int leaks_show(struct seq_file *m, void *p)
4440 4440
4441static const struct seq_operations slabstats_op = { 4441static const struct seq_operations slabstats_op = {
4442 .start = leaks_start, 4442 .start = leaks_start,
4443 .next = s_next, 4443 .next = slab_next,
4444 .stop = s_stop, 4444 .stop = slab_stop,
4445 .show = leaks_show, 4445 .show = leaks_show,
4446}; 4446};
4447 4447
diff --git a/mm/slab.h b/mm/slab.h
index 95c88604aab7..620ceeddbe1a 100644
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -272,5 +272,5 @@ struct kmem_cache_node {
272 272
273}; 273};
274 274
275void *s_next(struct seq_file *m, void *p, loff_t *pos); 275void *slab_next(struct seq_file *m, void *p, loff_t *pos);
276void s_stop(struct seq_file *m, void *p); 276void slab_stop(struct seq_file *m, void *p);
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