]> err.no Git - linux-2.6/commit
[CIFS] fix mempool destroy done in wrong order in cifs error path
authorAkinobu Mita <akinobu.mita@gmail..com>
Mon, 4 Jun 2007 16:14:59 +0000 (16:14 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 4 Jun 2007 16:14:59 +0000 (16:14 +0000)
commite6985c7f6842fa040d058640e363140ad1730dc5
treef4490bc37a43968b35014dbd40463275b6ead59f
parentf7f7c31c98830e5f4aa5486b8aabb7f3bf4a2512
[CIFS] fix mempool destroy done in wrong order in cifs error path

Slab cache used as memory pool can not be destroyed before the memory
pool destruction. Because the memory pool still holds some objects and
kmem_cache_destroy() says "Can't free all objects".

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c