diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2014-05-22 20:54:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-05-23 18:37:30 +0200 |
commit | 66db6cfd49825f4e3462ceee3bcbb292d57da6fb (patch) | |
tree | e1082bd92e171d338034f2ea31ef992f4ed7c331 /init/main.c | |
parent | mm/memory-failure.c: fix memory leak by race between poison and unpoison (diff) | |
download | linux-66db6cfd49825f4e3462ceee3bcbb292d57da6fb.tar.xz linux-66db6cfd49825f4e3462ceee3bcbb292d57da6fb.zip |
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>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions