ocfs2: dlm: Remove extra parentheses
PATCH 1/1 ocfs2: dlm: Remove extra parentheses
Remove unnecessary parentheses to fix the clang warning of extraneous parentheses.
Suggested-by Lukas Bulwahn <[email protected]>
Signed-off-by Varsha Rao <[email protected]>
--- fs/ocfs2/dlm/dlmthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/dlm/dlmthread.c +1 -1
@@ -531,7 +531,7 @@ void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res)assert_spin_locked (&res->spinlock);/* don't shuffle secondary queues */ -if ((res->owner == dlm->node_num)) { +if (res->owner == dlm->node_num) {if (res->state & (DLM_LOCK_RES_MIGRATING |DLM_LOCK_RES_BLOCK_DIRTY ))return ;
Signature · 1 line
2.17.0