diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-10-06 19:16:08 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 20:02:44 -0400 |
commit | 009d37502a7b9fc89741e66b4454afca4edc1c26 (patch) | |
tree | 5baff62529735bf9e1a0d72108fe3183876de18e /fs/ocfs2/stackglue.c | |
parent | 5a09561199e7f8d3feaaa01c39372050e140b775 (diff) |
ocfs2: Remove pointless !!
ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or
one value.
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/stackglue.c')
-rw-r--r-- | fs/ocfs2/stackglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c index 7150f5dce957..68b668b0e60a 100644 --- a/fs/ocfs2/stackglue.c +++ b/fs/ocfs2/stackglue.c | |||
@@ -290,7 +290,7 @@ EXPORT_SYMBOL_GPL(ocfs2_dlm_dump_lksb); | |||
290 | 290 | ||
291 | int ocfs2_stack_supports_plocks(void) | 291 | int ocfs2_stack_supports_plocks(void) |
292 | { | 292 | { |
293 | return !!(active_stack && active_stack->sp_ops->plock); | 293 | return active_stack && active_stack->sp_ops->plock; |
294 | } | 294 | } |
295 | EXPORT_SYMBOL_GPL(ocfs2_stack_supports_plocks); | 295 | EXPORT_SYMBOL_GPL(ocfs2_stack_supports_plocks); |
296 | 296 | ||