ocfs2: cleanup error handling in ocfs2_super_lock
PATCH 1/1 ocfs2: cleanup error handling in ocfs2_super_lock
There is no need to determine whether ocfs2_should_refresh_lock_res()
returns less than 0 because it never returns such a value.
Signed-off-by xuejiufei <[email protected]>
--- fs/ocfs2/dlmglue.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
fs/ocfs2/dlmglue.c +0 -4
@@ -2544,10 +2544,6 @@ int ocfs2_super_lock(struct ocfs2_super *osb,* refreshed, so we do it here. Of course, making sense of * everything is up to the caller :) */ status =ocfs2_should_refresh_lock_res (lockres); -if (status <0 ) { -mlog_errno (status); - goto bail; - }if (status) { status =ocfs2_refresh_slot_info (osb);
Signature · 1 line
1.7.8.6