Skip to contentSkip to conversation

NFS nonzero preempt_count 2/2

PATCH William Lee Irwin III 1 participant 1 message Jul 16, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 =====

fs/lockd/svc.c +1 -0
@@ -203,6 +203,7 @@
 	rpciod_down();
 
 	/* Release module */
+	unlock_kernel();
 	MOD_DEC_USE_COUNT;
 }