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/ufs | |
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/ufs')
-rw-r--r-- | sys/ufs/mfs/mfs_vnops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c index ba882d9..2908aff 100644 --- a/sys/ufs/mfs/mfs_vnops.c +++ b/sys/ufs/mfs/mfs_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfs_vnops.c 8.3 (Berkeley) 9/21/93 - * $Id: mfs_vnops.c,v 1.6 1994/09/25 22:31:08 davidg Exp $ + * $Id: mfs_vnops.c,v 1.7 1994/10/09 07:35:12 davidg Exp $ */ #include <sys/param.h> @@ -230,6 +230,8 @@ mfs_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); } |