slab: struct kmem_cache is protected by slab_mutex
authorFam Zheng <famz@redhat.com>
Tue, 21 Jan 2014 01:12:42 +0000 (09:12 +0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Jan 2014 06:53:18 +0000 (07:53 +0100)
cache_chain_mutex has been replaced by slab_mutex. Fix this remaining
outdated comment.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/slab_def.h

index 09bfffb08a56db285caa27146202f04e2188b480..40fc39d22d53a3e8ca25122154861877cf946f94 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 struct kmem_cache {
-/* 1) Cache tunables. Protected by cache_chain_mutex */
+/* 1) Cache tunables. Protected by slab_mutex */
        unsigned int batchcount;
        unsigned int limit;
        unsigned int shared;