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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:24:10 +0000 (03:24 +0000)
commit9ba3d1e2eb9dfa96b0b5c53fe77c09d2f4e2d292
tree604bbb332f985421a3e3686392e4aaf2b03bd3f9
parent65a79a3b36345cab460edef6c71f08d89db2ae03
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: Ben Hutchings <ben@decadent.org.uk>
fs/ocfs2/dlmglue.c