patch-2.2.5 linux/fs/buffer.c

Next file: linux/fs/ioctl.c
Previous file: linux/fs/adfs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/fs/buffer.c linux/fs/buffer.c
@@ -853,6 +853,7 @@
 		__brelse(buf);
 		return;
 	}
+	buf->b_count = 0;
 	remove_from_queues(buf);
 	put_last_free(buf);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)