[LWN Logo]

To:	linux-kernel@vger.rutgers.edu
From:	torvalds@transmeta.com (Linus Torvalds)
Subject: Linux-2.2.4 testpatch..
Date:	24 Mar 1999 17:29:09 GMT

There's a potential problem under certain load conditions with 2.2.4,
which should be fixed by this one-liner. If you have trouble with 2.2.4
(apart from the obvious one where you have to add ", NULL" to two places
in kernel/acct.c), would you try this simple thing?

Note that I _really_ want to hear about if if this makes any difference
at all.  It's a real bug, but I think it needs some rather pathological
usage patterns to actually become a real problem.  So I'd like to know
if it actually makes a difference in real life... 

		Linus

-----
--- v2.2.4/linux/fs/buffer.c	Tue Mar 23 14:35:48 1999
+++ linux/fs/buffer.c	Wed Mar 24 09:11:53 1999
@@ -854,6 +854,7 @@
 		return;
 	}
 	remove_from_queues(buf);
+	buf->b_count = 0;
 	put_last_free(buf);
 }
 

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