From 9e52c97c63cba692070dae8a8ab38fb2449f2cdd Mon Sep 17 00:00:00 2001 From: dg Date: Sun, 28 May 1995 04:32:23 +0000 Subject: Kill bogus vnode_pager_setsize(). It was being called at the wrong time and resulted in the object size being too small. This caused bad things to happen later when the file was mapped. Reviewed by: John Dyson --- sys/ufs/ffs/ffs_balloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c index 8621869..687781e 100644 --- a/sys/ufs/ffs/ffs_balloc.c +++ b/sys/ufs/ffs/ffs_balloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_balloc.c 8.4 (Berkeley) 9/23/93 - * $Id: ffs_balloc.c,v 1.6 1995/03/19 14:29:13 davidg Exp $ + * $Id: ffs_balloc.c,v 1.7 1995/04/09 06:03:36 davidg Exp $ */ #include @@ -93,7 +93,6 @@ ffs_balloc(ip, bn, size, cred, bpp, flags) if (error) return (error); ip->i_size = (nb + 1) * fs->fs_bsize; - vnode_pager_setsize(vp, (u_long)ip->i_size); ip->i_db[nb] = dbtofsb(fs, bp->b_blkno); ip->i_flag |= IN_CHANGE | IN_UPDATE; if (flags & B_SYNC) -- cgit v1.1