diff options
author | Guozhonghua <guozhonghua@h3c.com> | 2016-10-11 22:51:01 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-12 00:06:30 +0200 |
commit | 0cc482ee41d609811bd7b91abdbcd1c5dbdfb783 (patch) | |
tree | bcb892bb46b17613ebe6c8fa46a450b45ad3e830 /block/ioctl.c | |
parent | Fix off-by-one in __pipe_get_pages() (diff) | |
download | linux-0cc482ee41d609811bd7b91abdbcd1c5dbdfb783.tar.xz linux-0cc482ee41d609811bd7b91abdbcd1c5dbdfb783.zip |
ocfs2: fix memory leak in dlm_migrate_request_handler()
In the dlm_migrate_request_handler(), when `ret' is -EEXIST, the mle
should be freed, otherwise the memory will be leaked.
Link: http://lkml.kernel.org/r/71604351584F6A4EBAE558C676F37CA4A3D3522A@H3CMLB12-EX.srv.huawei-3com.com
Signed-off-by: Guozhonghua <guozhonghua@h3c.com>
Reviewed-by: Mark Fasheh <mfasheh@versity.com>
Cc: Eric Ren <zren@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions