ocfs2/dlm: refactor error handling in dlm_alloc_ctxt
authorJoseph Qi <joseph.qi@huawei.com>
Thu, 9 Oct 2014 22:24:54 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:46 +0000 (22:25 -0400)
commit190a7721ac865744a59fdf2f291c2a211cab6217
tree682febf00ea058368192b27ce2cbf3679a5f74ab
parent98acbf63d63c83e847c5cbe454b36a53cfbbc7a5
ocfs2/dlm: refactor error handling in dlm_alloc_ctxt

Refactoring error handling in dlm_alloc_ctxt to simplify code.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Alex Chen <alex.chen@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/dlmdomain.c