ocfs2: add missing lockres put in dlm_mig_lockres_handler
authorXue jiufei <xuejiufei@huawei.com>
Wed, 12 Jun 2013 21:05:03 +0000 (14:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jun 2013 23:29:46 +0000 (16:29 -0700)
commit27749f2ff0717e115680922000839ad6a576eddf
tree94c2e9cc9edb0054fe0454bf3e6d0933f4164cee
parent026b08147923142e925a7d0aaa39038055ae0156
ocfs2: add missing lockres put in dlm_mig_lockres_handler

dlm_mig_lockres_handler() is missing a dlm_lockres_put() on an error path.

Signed-off-by: joyce <xuejiufei@huawei.com>
Reviewed-by: shencanquan <shencanquan@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>
fs/ocfs2/dlm/dlmrecovery.c