diff options
-rw-r--r-- | mm/slab.c | 4 | ||||
-rw-r--r-- | mm/slab.h | 4 | ||||
-rw-r--r-- | mm/slab_common.c | 8 |
3 files changed, 8 insertions, 8 deletions
@@ -4440,8 +4440,8 @@ static int leaks_show(struct seq_file *m, void *p) | |||
4440 | 4440 | ||
4441 | static const struct seq_operations slabstats_op = { | 4441 | static 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 | ||
@@ -272,5 +272,5 @@ struct kmem_cache_node { | |||
272 | 272 | ||
273 | }; | 273 | }; |
274 | 274 | ||
275 | void *s_next(struct seq_file *m, void *p, loff_t *pos); | 275 | void *slab_next(struct seq_file *m, void *p, loff_t *pos); |
276 | void s_stop(struct seq_file *m, void *p); | 276 | void 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 | ||
539 | void *s_next(struct seq_file *m, void *p, loff_t *pos) | 539 | void *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 | ||
544 | void s_stop(struct seq_file *m, void *p) | 544 | void 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 | */ |
619 | static const struct seq_operations slabinfo_op = { | 619 | static 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 | ||