dlm: possible memory leak on error path in create_lkb()
authorVasily Averin <vvs@virtuozzo.com>
Thu, 15 Nov 2018 10:18:18 +0000 (13:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 09:03:52 +0000 (10:03 +0100)
commit4e28e1e18dbdcb3e351962f0c09c03e2a58dba44
tree091af6077389bc299e6c42b82c1fba22328a3c2e
parent5dbe8ebf8a9c7b0014e1bfcc1a2159b212767ff5
dlm: possible memory leak on error path in create_lkb()

commit 23851e978f31eda8b2d01bd410d3026659ca06c7 upstream.

Fixes 3d6aa675fff9 ("dlm: keep lkbs in idr")
Cc: stable@kernel.org # 3.1
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/dlm/lock.c