NFS nonzero preempt_count 2/2

From: William Lee Irwin III (wli@holomorphy.com)
Date: Tue Jul 16 2002 - 03:40:09 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:19 EST