diff options
author | dyson <dyson@FreeBSD.org> | 1998-05-04 17:43:48 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-05-04 17:43:48 +0000 |
commit | 7f7985f11a3eb31a76e1ff81a11a7b9c324c4e12 (patch) | |
tree | 3b551d55d3746c0ef5bcb4857e1d2c28506c1a6f /sys | |
parent | 9c5d362f0a0fc1839de3360464285035b3a961b4 (diff) | |
download | FreeBSD-src-7f7985f11a3eb31a76e1ff81a11a7b9c324c4e12.zip FreeBSD-src-7f7985f11a3eb31a76e1ff81a11a7b9c324c4e12.tar.gz |
Correct an error that I made where the vtruncbuf was changed back
to vinvalbuf, but I incorrectly added the "V_SAVE|V_SAVEMETA" flags.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index a390f0e..5e74760 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_inode.c 8.13 (Berkeley) 4/21/95 - * $Id: ffs_inode.c,v 1.40 1998/03/30 09:55:55 phk Exp $ + * $Id: ffs_inode.c,v 1.41 1998/04/30 05:28:53 dyson Exp $ */ #include "opt_quota.h" @@ -212,7 +212,7 @@ ffs_truncate(vp, length, flags, cred, p) (void) chkdq(oip, -oip->i_blocks, NOCRED, 0); #endif softdep_setup_freeblocks(oip, length); - vinvalbuf(ovp, V_SAVE | V_SAVEMETA, cred, p, 0, 0); + vinvalbuf(ovp, 0, cred, p, 0, 0); oip->i_flag |= IN_CHANGE | IN_UPDATE; return (ffs_update(ovp, &tv, &tv, 0)); } |