Skip to content

Commit

Permalink
ocfs2: Remove pointless !!
Browse files Browse the repository at this point in the history
ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or
one value.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
  • Loading branch information
Mark Fasheh committed Oct 14, 2008
1 parent 5a09561 commit 009d375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/stackglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ EXPORT_SYMBOL_GPL(ocfs2_dlm_dump_lksb);

int ocfs2_stack_supports_plocks(void)
{
return !!(active_stack && active_stack->sp_ops->plock);
return active_stack && active_stack->sp_ops->plock;
}
EXPORT_SYMBOL_GPL(ocfs2_stack_supports_plocks);

Expand Down

0 comments on commit 009d375

Please sign in to comment.