Messages in this thread | | | Date | Tue, 8 Feb 2011 11:50:28 -0500 | From | Ted Ts'o <> | Subject | Re: linux-next: build failure after merge of the slab tree |
| |
On Tue, Feb 08, 2011 at 09:55:48AM -0600, Christoph Lameter wrote: > Argh. I accidentally sent an older version of the patch. This one is the > tested one. > > Subject: ext4: Remove use of kmem_cache_name > > Remove the use of kmem_cache_name from ext4. In order to do that we need to > strdup the name of the cache passed to kmem_cache_create.
There is a patch for this that Eric Sandeen has done which I've pushed to Linus already.
Part of the problem is that some of the slab allocators call strdup, and some don't. So the only solution is to pass in a const, statically allocated name.....
- Ted
| |