diff options
author | dyson <dyson@FreeBSD.org> | 1996-12-05 04:28:52 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-12-05 04:28:52 +0000 |
commit | e198c2084e302357c492fb892ae18bb9c017bc03 (patch) | |
tree | 4ea71667fa7ea82fca421770fd97954649d7d5f2 /sys/kern | |
parent | 2cb78c6970429413260b4ab3ef9690541d56e362 (diff) | |
download | FreeBSD-src-e198c2084e302357c492fb892ae18bb9c017bc03.zip FreeBSD-src-e198c2084e302357c492fb892ae18bb9c017bc03.tar.gz |
Clean-up of the new buffer kva allocation code. Also, there was an
error in the !BOUNCE_BUFFERS case.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 4bd5bcf..eb98aab 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: vfs_bio.c,v 1.107 1996/11/30 22:41:40 dyson Exp $ + * $Id: vfs_bio.c,v 1.108 1996/12/01 15:46:31 dyson Exp $ */ /* @@ -154,7 +154,7 @@ bufinit() * cache is still the same as it would be for 8K filesystems. This * keeps the size of the buffer cache "in check" for big block filesystems. */ - maxbufspace = (nbuf + 8) * PAGE_SIZE; + maxbufspace = (nbuf + 8) * DFLTBSIZE; /* * reserve 1/3 of the buffers for metadata (VDIR) which might not be VMIO'ed */ |