projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a09561
)
ocfs2: Remove pointless !!
author
Mark Fasheh
<mfasheh@suse.com>
Mon, 6 Oct 2008 23:16:08 +0000
(16:16 -0700)
committer
Mark Fasheh
<mfasheh@suse.com>
Tue, 14 Oct 2008 00:02:44 +0000
(17:02 -0700)
ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or
one value.
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/stackglue.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/stackglue.c
b/fs/ocfs2/stackglue.c
index
7150f5d
..
68b668b
100644
(file)
--- 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);