From: Joseph Qi Date: Thu, 22 May 2014 18:54:22 +0000 (-0700) Subject: ocfs2: fix double kmem_cache_destroy in dlm_init X-Git-Tag: omap-for-v3.16/fixes-against-rc1~150^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66db6cfd49825f4e3462ceee3bcbb292d57da6fb;p=pandora-kernel.git ocfs2: fix double kmem_cache_destroy in dlm_init In dlm_init, if create dlm_lockname_cache failed in dlm_init_master_caches, it will destroy dlm_lockres_cache which created before twice. And this will cause system die when loading modules. Signed-off-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed