Displaying 1 result from an estimated 1 matches for "b6060e3".
Did you mean:
606073
2009 May 07
3
[PATCH] ocfs2_cluster_lock: code cleanup for redundant assignment
...n L1375 is redundant in this case. This patch removes
such a redundant variable assignment.
Signed-off-by: Coly Li <coly.li at suse.de>
---
fs/ocfs2/dlmglue.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index e15fc7d..b6060e3 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -1372,10 +1372,10 @@ out:
*/
if (wait && arg_flags & OCFS2_LOCK_NONBLOCK &&
mw.mw_mask & (OCFS2_LOCK_BUSY|OCFS2_LOCK_BLOCKED)) {
- wait = 0;
- if (lockres_remove_mask_waiter(lockres, &mw))
+ if (lo...