lkml.org 
[lkml]   [1996]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: patch-2.0.1[67] kills automount daemon (Berkeley amd)

I'm going to release a 2.0.18 reasonably soon, but in the meantime I'd like
to know if this small fix fixes the NFS problems.. Now that the kernel
mailing list seems to work well again, maybe we can use it for what it was
meant for.

Linus

-----
diff -u --recursive --new-file v2.0.17/linux/fs/nfs/rpcsock.c linux/fs/nfs/rpcsock.c
--- v2.0.17/linux/fs/nfs/rpcsock.c Thu Jun 6 21:22:24 1996
+++ linux/fs/nfs/rpcsock.c Tue Sep 3 20:10:17 1996
@@ -564,7 +564,7 @@
unsigned long t0 = jiffies;

rsock->shutdown = 1;
- while (rsock->pending || rsock->backlog) {
+ while (rsock->pending || waitqueue_active(&rsock->backlog)) {
interruptible_sleep_on(&rsock->shutwait);
if (current->signal & ~current->blocked)
return -EINTR;
-----
\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site