ocfs2: unlock super lock if lockres refresh failed
commit099f19c0426e465c44b66cc93f923461af6e5f8d
authorJunxiao Bi <junxiao.bi@oracle.com>
Fri, 22 Feb 2013 00:42:45 +0000 (21 16:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:32:25 +0000 (28 06:32 -0800)
treedd0bfa77a49727119c00ced90b1cb3d010101bb3
parent9a84bc2154b9787917cfc69cd619110bb9ab802f
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