patch-pre2.0.14-final2.0 linux/fs/locks.c

Next file: linux/fs/nfs/bio.c
Previous file: linux/fs/ext2/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.14/linux/fs/locks.c linux/fs/locks.c
@@ -304,8 +304,8 @@
 /* warn a bit for now, but don't overdo it */
 {
 	static int count = 0;
-	if (count < 5) {
-		count++;
+	if (!count) {
+		count=1;
 		printk(KERN_WARNING
 		       "fcntl_setlk() called by process %d (%s) with broken flock() emulation\n",
 		       current->pid, current->comm);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this