ocfs2: unlock super lock if lockres refresh failed
authorJunxiao Bi <junxiao.bi@oracle.com>
Fri, 22 Feb 2013 00:42:45 +0000 (16:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2013 17:21:09 +0000 (09:21 -0800)
commit89c97cf1a83d2ec5b38164752a7ac2c95e2b5a0d
treecd08337b379a286884e4dd18e005ad9c9cc65f48
parent9e3b619d0108cc911ac62eec181945800a4a9114
ocfs2: unlock super lock if lockres refresh failed

commit 3278bb748d2437eb1464765f36429e5d6aa91c38 upstream.

If lockres refresh failed, the super lock will never be released which
will cause some processes on other cluster nodes hung forever.

Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ocfs2/dlmglue.c