]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: remove unused code in dlm_new_lockres()
authorXue jiufei <xuejiufei@huawei.com>
Thu, 9 Oct 2014 22:25:03 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:47 +0000 (22:25 -0400)
commit530b5a8d3726aa91d49061933aa8f8fdc49c8b36
tree10013216bcd1d6918d0f07a96c13bcbec43cc801
parent6ba7243d20a41060fff2725e0f95d1af6fc9f10d
ocfs2: remove unused code in dlm_new_lockres()

Remove the branch that free res->lockname.name because the condition
is never satisfied when jump to label error.

Signed-off-by: joyce.xue <xuejiufei@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/dlmmaster.c