]> asedeno.scripts.mit.edu Git - linux.git/commit
dm bufio: get rid of slab cache name allocations
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 15 Mar 2018 21:16:07 +0000 (17:16 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:24 +0000 (15:04 -0400)
commiteeb67a0ba04dfb80ec1a956fa6345f4ca5b9c937
treee13e07439010e4383c04986b208e0f7560f55a1a
parentafa53df869121fd4f6f1265cbe794d64387890ae
dm bufio: get rid of slab cache name allocations

dm-bufio keeps the dm_bufio_cache_names array that holds names of the
slab caches.

Since the commit db265eca7700 ("mm/sl[aou]b: Move duping of slab name to
slab_common.c"), the kernel automatically duplicates the slab cache name
when creating the slab cache, so we no longer have to keep the name
allocated.

Remove the code that allocates the slab names and keeps them around.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c