patch-2.2.18 linux/fs/lockd/clntlock.c
Next file: linux/fs/lockd/clntproc.c
Previous file: linux/fs/lockd/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Sep 15 22:10:43 2000
- Orig file:
v2.2.17/fs/lockd/clntlock.c
- Orig date:
Fri Apr 21 12:46:43 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/fs/lockd/clntlock.c linux/fs/lockd/clntlock.c
@@ -71,7 +71,7 @@
* a 1 minute timeout would do. See the comment before
* nlmclnt_lock for an explanation.
*/
- sleep_on_timeout(&block.b_wait, 30*HZ);
+ interruptible_sleep_on_timeout(&block.b_wait, 30*HZ);
for (head = &nlm_blocked; *head; head = &(*head)->b_next) {
if (*head == &block) {
@@ -152,7 +152,7 @@
host->h_monitored = 0;
host->h_nsmstate = newstate;
host->h_state++;
- host->h_count++;
+ nlm_get_host(host);
kernel_thread(reclaimer, host, 0);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)