aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorAsaf Vertz <asaf.vertz@tandemg.com>2015-02-01 06:28:46 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-07 04:28:21 -0500
commitc5ce36f6b06217d6d03006a5fe2aef19918b9081 (patch)
tree58cb9318196745d4eb7c15d28b38c5a453ba868c /drivers/staging
parent89975ff91e1a1a9396804976e49b794755168c6a (diff)
staging: lustre: osc: fix space prohibited after that '!'
Fixed a coding style error, space prohibited after that '!' Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/lustre/lustre/osc/osc_lock.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/lustre/lustre/osc/osc_lock.c b/drivers/staging/lustre/lustre/osc/osc_lock.c
index a7f08bc48166..445655724904 100644
--- a/drivers/staging/lustre/lustre/osc/osc_lock.c
+++ b/drivers/staging/lustre/lustre/osc/osc_lock.c
@@ -100,14 +100,14 @@ static int osc_lock_invariant(struct osc_lock *ols)
100 /* 100 /*
101 * If all the following "ergo"s are true, return 1, otherwise 0 101 * If all the following "ergo"s are true, return 1, otherwise 0
102 */ 102 */
103 if (! ergo(olock != NULL, handle_used)) 103 if (!ergo(olock != NULL, handle_used))
104 return 0; 104 return 0;
105 105
106 if (! ergo(olock != NULL, 106 if (!ergo(olock != NULL,
107 olock->l_handle.h_cookie == ols->ols_handle.cookie)) 107 olock->l_handle.h_cookie == ols->ols_handle.cookie))
108 return 0; 108 return 0;
109 109
110 if (! ergo(handle_used, 110 if (!ergo(handle_used,
111 ergo(lock != NULL && olock != NULL, lock == olock) && 111 ergo(lock != NULL && olock != NULL, lock == olock) &&
112 ergo(lock == NULL, olock == NULL))) 112 ergo(lock == NULL, olock == NULL)))
113 return 0; 113 return 0;
@@ -115,18 +115,18 @@ static int osc_lock_invariant(struct osc_lock *ols)
115 * Check that ->ols_handle and ->ols_lock are consistent, but 115 * Check that ->ols_handle and ->ols_lock are consistent, but
116 * take into account that they are set at the different time. 116 * take into account that they are set at the different time.
117 */ 117 */
118 if (! ergo(ols->ols_state == OLS_CANCELLED, 118 if (!ergo(ols->ols_state == OLS_CANCELLED,
119 olock == NULL && !handle_used)) 119 olock == NULL && !handle_used))
120 return 0; 120 return 0;
121 /* 121 /*
122 * DLM lock is destroyed only after we have seen cancellation 122 * DLM lock is destroyed only after we have seen cancellation
123 * ast. 123 * ast.
124 */ 124 */
125 if (! ergo(olock != NULL && ols->ols_state < OLS_CANCELLED, 125 if (!ergo(olock != NULL && ols->ols_state < OLS_CANCELLED,
126 ((olock->l_flags & LDLM_FL_DESTROYED) == 0))) 126 ((olock->l_flags & LDLM_FL_DESTROYED) == 0)))
127 return 0; 127 return 0;
128 128
129 if (! ergo(ols->ols_state == OLS_GRANTED, 129 if (!ergo(ols->ols_state == OLS_GRANTED,
130 olock != NULL && 130 olock != NULL &&
131 olock->l_req_mode == olock->l_granted_mode && 131 olock->l_req_mode == olock->l_granted_mode &&
132 ols->ols_hold)) 132 ols->ols_hold))