patch-2.4.22 linux-2.4.22/fs/lockd/clntproc.c
Next file: linux-2.4.22/fs/lockd/host.c
Previous file: linux-2.4.22/fs/jfs/super.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2003-08-25 04:44:43.000000000 -0700
-  Orig file: 
linux-2.4.21/fs/lockd/clntproc.c
-  Orig date: 
2001-10-11 07:52:18.000000000 -0700
diff -urN linux-2.4.21/fs/lockd/clntproc.c linux-2.4.22/fs/lockd/clntproc.c
@@ -460,7 +460,7 @@
 		}
 		if (status < 0)
 			return status;
-	} while (resp->status == NLM_LCK_BLOCKED);
+	} while (resp->status == NLM_LCK_BLOCKED && req->a_args.block);
 
 	if (resp->status == NLM_LCK_GRANTED) {
 		fl->fl_u.nfs_fl.state = host->h_state;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)