NFS nonzero preempt_count 2/2

William Lee Irwin III (wli@holomorphy.com)
Tue, 16 Jul 2002 01:40:09 -0700


When unmounting an NFS filesystem, I saw printk's reporting that NFS
daemons exited with nonzero preempt_counts. Fixing this up so they
no longer give the warning seems like a good idea.

Patch attempting to do this for lockd below.

Cheers,
Bill

===== fs/lockd/svc.c 1.10 vs edited =====
--- 1.10/fs/lockd/svc.c Mon Feb 25 10:35:33 2002
+++ edited/fs/lockd/svc.c Tue Jul 16 02:08:23 2002
@@ -203,6 +203,7 @@
rpciod_down();

/* Release module */
+ unlock_kernel();
MOD_DEC_USE_COUNT;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/