Navigation Menu

Skip to content

Commit

Permalink
o2dlm-fix-null-pointer-dereference-in-o2dlm_blocking_ast_wrapper-chec…
Browse files Browse the repository at this point in the history
…kpatch-fixes

WARNING: else is not generally useful after a break or return
torvalds#47: FILE: fs/ocfs2/dlm/dlmast.c:392:
+				break;
+			else

total: 0 errors, 1 warnings, 15 lines checked

./patches/o2dlm-fix-null-pointer-dereference-in-o2dlm_blocking_ast_wrapper.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and sfrothwell committed Sep 26, 2014
1 parent e67783c commit c7cc81c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ocfs2/dlm/dlmast.c
Expand Up @@ -389,8 +389,7 @@ int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data,
if (lock->ml.cookie == cookie) {
if (lock->unlock_pending)
break;
else
goto do_ast;
goto do_ast;
}
}

Expand Down

0 comments on commit c7cc81c

Please sign in to comment.