Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/chs-ubc2]: src/sys/ufs/ffs no need to call uvm_vnp_zerorange() in ffs_ba...
details: https://anonhg.NetBSD.org/src/rev/73731a34bbd6
branches: chs-ubc2
changeset: 471397:73731a34bbd6
user: chs <chs%NetBSD.org@localhost>
date: Sun Jul 11 06:03:41 1999 +0000
description:
no need to call uvm_vnp_zerorange() in ffs_balloc() anymore,
it's handled differently now.
diffstat:
sys/ufs/ffs/ffs_balloc.c | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diffs (42 lines):
diff -r 3562b32b9aae -r 73731a34bbd6 sys/ufs/ffs/ffs_balloc.c
--- a/sys/ufs/ffs/ffs_balloc.c Sun Jul 11 05:56:38 1999 +0000
+++ b/sys/ufs/ffs/ffs_balloc.c Sun Jul 11 06:03:41 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_balloc.c,v 1.14.4.3 1999/07/06 14:52:08 chs Exp $ */
+/* $NetBSD: ffs_balloc.c,v 1.14.4.4 1999/07/11 06:03:41 chs Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -213,11 +213,6 @@
bpp, &newb);
if (error)
return (error);
- if (vp->v_type == VREG) {
- uvm_vnp_zerorange(vp,
- lblktosize(fs, lbn) +
- osize, nsize - osize);
- }
}
} else {
@@ -242,10 +237,6 @@
clrbuf(bp);
*bpp = bp;
}
- if (vp->v_type == VREG) {
- uvm_vnp_zerorange(vp, lblktosize(fs, lbn),
- nsize);
- }
}
ip->i_ffs_db[lbn] = ufs_rw32(newb, UFS_MPNEEDSWAP(vp->v_mount));
ip->i_flag |= IN_CHANGE | IN_UPDATE;
@@ -376,9 +367,6 @@
clrbuf(nbp);
*bpp = nbp;
}
- if (vp->v_type == VREG) {
- uvm_vnp_zerorange(vp, lblktosize(fs, lbn), ap->a_size);
- }
return (0);
}
Home |
Main Index |
Thread Index |
Old Index