]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In cluster_rbuild(), 'size' had better match buf->b_bcount and buf->b_bufsize
authordillon <dillon@FreeBSD.org>
Thu, 25 Oct 2001 22:49:48 +0000 (22:49 +0000)
committerdillon <dillon@FreeBSD.org>
Thu, 25 Oct 2001 22:49:48 +0000 (22:49 +0000)
commitc428dfdefb9b7fbf3edbaf5efad4918801a356cd
treecd988e95d101c4bdf78edd58c8b8e51655541a76
parenta22b73a2d7884460d1f21cc881cfe3d8411065ac
In cluster_rbuild(), 'size' had better match buf->b_bcount and buf->b_bufsize
or the cluster will not be properly merged.  Dup the code from
cluster_wbuild() and add some printf()s to see if bad cases are present.

MFC after: 2 weeks
sys/kern/vfs_cluster.c