From 79ece62e1c52c8cdadacf16e6c857a17783deeec Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Mon, 6 Oct 2008 16:16:08 -0700 Subject: [PATCH] --- yaml --- r: 114404 b: refs/heads/master c: 009d37502a7b9fc89741e66b4454afca4edc1c26 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/stackglue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2fa8a6dc0415..47c7f7e18727 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5a09561199e7f8d3feaaa01c39372050e140b775 +refs/heads/master: 009d37502a7b9fc89741e66b4454afca4edc1c26 diff --git a/trunk/fs/ocfs2/stackglue.c b/trunk/fs/ocfs2/stackglue.c index 7150f5dce957..68b668b0e60a 100644 --- a/trunk/fs/ocfs2/stackglue.c +++ b/trunk/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);