summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/stackglue.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-10-07 01:16:08 +0200
committerMark Fasheh <mfasheh@suse.com>2008-10-14 02:02:44 +0200
commit009d37502a7b9fc89741e66b4454afca4edc1c26 (patch)
tree5baff62529735bf9e1a0d72108fe3183876de18e /fs/ocfs2/stackglue.c
parentocfs2: Add empty bucket support in xattr. (diff)
downloadlinux-009d37502a7b9fc89741e66b4454afca4edc1c26.tar.xz
linux-009d37502a7b9fc89741e66b4454afca4edc1c26.zip
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.c2
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);
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);