]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: remove some unused code
authorXue jiufei <xuejiufei@huawei.com>
Wed, 4 Jun 2014 23:06:24 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:53:55 +0000 (16:53 -0700)
commit6e0577e68906ae6374a84fe863f9953cc58c36f6
treee1c2565aaea24df2d9ae9048dc3a76f30f1421ee
parente42c322848d4487cf0afc451aeccb0b66647d30c
ocfs2: remove some unused code

dlm_recovery_ctxt.received is unused.

ocfs2_should_refresh_lock_res() can only return 0 or 1, so the error
handling code in ocfs2_super_lock() is unneeded.

Signed-off-by: joyce.xue <xuejiufei@huawei.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>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlmglue.c