diff options
author | 2007-06-22 13:59:12 +0000 | |
---|---|---|
committer | 2007-06-22 13:59:12 +0000 | |
commit | 2fd954aa4eb78ac00fd187b8859aebf11ae9ee65 (patch) | |
tree | 3754e78fe3dc380f1d96932aa9e1d8422e34e83d | |
parent | Regen. (diff) | |
download | wireguard-openbsd-2fd954aa4eb78ac00fd187b8859aebf11ae9ee65.tar.xz wireguard-openbsd-2fd954aa4eb78ac00fd187b8859aebf11ae9ee65.zip |
Update ffs[1/2] time last written for cg's in
clusteralloc();
From mickey; ok pedro@
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 1a3d6fad9a3..c0fe153c52b 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_alloc.c,v 1.77 2007/06/01 23:47:57 deraadt Exp $ */ +/* $OpenBSD: ffs_alloc.c,v 1.78 2007/06/22 13:59:12 thib Exp $ */ /* $NetBSD: ffs_alloc.c,v 1.11 1996/05/11 18:27:09 mycroft Exp $ */ /* @@ -1491,6 +1491,8 @@ ffs_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len) /* * Allocate the cluster that we have found. */ + cgp->cg_ffs2_time = cgp->cg_time = time_second; + #ifdef DIAGNOSTIC for (i = 1; i <= len; i++) if (!ffs_isblock(fs, cg_blksfree(cgp), got - run + i)) |