From 23906a782b5688e3473a22066253a40e65445957 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 2 Dec 1997 11:21:16 +0000 Subject: [PATCH] Fix a small style bug in the generation number change (rev.1.33) before copying the change to other fs's. --- sys/ufs/ffs/ffs_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 8d1d5c0b8890..c0092de97b8b 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_alloc.c 8.18 (Berkeley) 5/26/95 - * $Id: ffs_alloc.c,v 1.43 1997/11/22 07:00:40 bde Exp $ + * $Id: ffs_alloc.c,v 1.44 1997/11/22 08:35:45 bde Exp $ */ #include "opt_quota.h" @@ -602,7 +602,7 @@ ffs_valloc(pvp, mode, cred, vpp) /* * Set up a new generation number for this inode. */ - if (ip->i_gen == 0 || ++(ip->i_gen) == 0) + if (ip->i_gen == 0 || ++ip->i_gen == 0) ip->i_gen = random() / 2 + 1; return (0); noinodes: