diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:31:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:31:58 -0400 |
commit | 0f9008ef38d5a6305d94bbdd8f20d68fc75c63b6 (patch) | |
tree | 046dd1a4f68593fa2be9d2e157111f70b448525a /mm/slub.c | |
parent | 5cefcab3db2b13093480f2a42bf081574dd72d3d (diff) |
Fix up SLUB compile
The newly merged SLUB allocator patches had been generated before the
removal of "struct subsystem", and ended up applying fine, but wouldn't
build based on the current tree as a result.
Fix up that merge error - not that SLUB is likely really ready for
showtime yet, but at least I can fix the trivial stuff.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3418,7 +3418,7 @@ static int sysfs_slab_add(struct kmem_cache *s) | |||
3418 | * This is typically the case for debug situations. In that | 3418 | * This is typically the case for debug situations. In that |
3419 | * case we can catch duplicate names easily. | 3419 | * case we can catch duplicate names easily. |
3420 | */ | 3420 | */ |
3421 | sysfs_remove_link(&slab_subsys.kset.kobj, s->name); | 3421 | sysfs_remove_link(&slab_subsys.kobj, s->name); |
3422 | name = s->name; | 3422 | name = s->name; |
3423 | } else { | 3423 | } else { |
3424 | /* | 3424 | /* |
@@ -3473,8 +3473,8 @@ static int sysfs_slab_alias(struct kmem_cache *s, const char *name) | |||
3473 | /* | 3473 | /* |
3474 | * If we have a leftover link then remove it. | 3474 | * If we have a leftover link then remove it. |
3475 | */ | 3475 | */ |
3476 | sysfs_remove_link(&slab_subsys.kset.kobj, name); | 3476 | sysfs_remove_link(&slab_subsys.kobj, name); |
3477 | return sysfs_create_link(&slab_subsys.kset.kobj, | 3477 | return sysfs_create_link(&slab_subsys.kobj, |
3478 | &s->kobj, name); | 3478 | &s->kobj, name); |
3479 | } | 3479 | } |
3480 | 3480 | ||