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 <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Srinivas Eeda <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and hnaz committed Sep 26, 2014
1 parent b4a536d commit fa7e6d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ocfs2/dlm/dlmast.c
Original file line number Diff line number Diff line change
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 fa7e6d7

Please sign in to comment.