commit | 66db6cfd49825f4e3462ceee3bcbb292d57da6fb | [log] [tgz] |
---|---|---|
author | Joseph Qi <joseph.qi@huawei.com> | Thu May 22 11:54:22 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri May 23 09:37:30 2014 -0700 |
tree | e1082bd92e171d338034f2ea31ef992f4ed7c331 | |
parent | 3e030ecc0fc7de10fd0da10c1c19939872a31717 [diff] |
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 <joseph.qi@huawei.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>