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

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)