diff options
author | dg <dg@FreeBSD.org> | 1995-02-03 06:46:28 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-02-03 06:46:28 +0000 |
commit | 8bb9dc4a89bd5956706b5498bcf5eb47c44489e5 (patch) | |
tree | aa9412f4cc1636272def26f88ab994f0ed3477d5 /sys/fs/specfs/spec_vnops.c | |
parent | a029b8cf3812fd5a671ccd0f2d2d60a0d19cda12 (diff) | |
download | FreeBSD-src-8bb9dc4a89bd5956706b5498bcf5eb47c44489e5.zip FreeBSD-src-8bb9dc4a89bd5956706b5498bcf5eb47c44489e5.tar.gz |
Fixed bmap run-length brokeness.
Use bmap run-length extension when doing clustered paging.
Submitted by: John Dyson
Diffstat (limited to 'sys/fs/specfs/spec_vnops.c')
-rw-r--r-- | sys/fs/specfs/spec_vnops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index fba9392..91b0c64 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94 - * $Id: spec_vnops.c,v 1.8 1994/10/28 12:41:59 jkh Exp $ + * $Id: spec_vnops.c,v 1.9 1994/11/14 13:22:52 bde Exp $ */ #include <sys/param.h> @@ -512,6 +512,8 @@ spec_bmap(ap) *ap->a_vpp = ap->a_vp; if (ap->a_bnp != NULL) *ap->a_bnp = ap->a_bn; + if (ap->a_runp != NULL) + *ap->a_runp = 0; return (0); } |