From 9cdb2d4d9d590a2a24bf7a304ca67f65daad98a6 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Mon, 24 Feb 2003 08:49:59 +0000 Subject: Expand the reference count on struct dquot to 32 bits. This fixes a panic on large systems where a single user may have more than 64K active or inactive vnodes. PR: 48234 Reviewed by: mike (mentor) --- sys/ufs/ufs/quota.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/ufs') diff --git a/sys/ufs/ufs/quota.h b/sys/ufs/ufs/quota.h index 49b262924336..60828a3afd1e 100644 --- a/sys/ufs/ufs/quota.h +++ b/sys/ufs/ufs/quota.h @@ -122,9 +122,8 @@ struct dquot { LIST_ENTRY(dquot) dq_hash; /* hash list */ TAILQ_ENTRY(dquot) dq_freelist; /* free list */ u_int16_t dq_flags; /* flags, see below */ - u_int16_t dq_cnt; /* count of active references */ - u_int16_t dq_spare; /* unused spare padding */ u_int16_t dq_type; /* quota type of this dquot */ + u_int32_t dq_cnt; /* count of active references */ u_int32_t dq_id; /* identifier this applies to */ struct ufsmount *dq_ump; /* filesystem that this is taken from */ struct dqblk dq_dqb; /* actual usage & quotas */ -- cgit v1.2.3