commit | 6ae075485e2d91921bdd64e49896b1bae87d1ba2 | [log] [tgz] |
---|---|---|
author | Xue jiufei <xuejiufei@huawei.com> | Thu Oct 09 15:25:03 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 09 22:25:47 2014 -0400 |
tree | 10013216bcd1d6918d0f07a96c13bcbec43cc801 | |
parent | 9a7e6b5a0ad1a554ca982c555a34ce8086d5b994 [diff] |
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>