diff options
author | das <das@FreeBSD.org> | 2003-02-24 08:49:59 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2003-02-24 08:49:59 +0000 |
commit | 1cc066976197e51dd191b3dda3c7e85ba6675a4f (patch) | |
tree | 3788421bfbd7feeb8ad6e8784494b9827a1fc5d9 /sys | |
parent | 373501e7698edb87caaa1fd8a3d346c402e6a263 (diff) | |
download | FreeBSD-src-1cc066976197e51dd191b3dda3c7e85ba6675a4f.zip FreeBSD-src-1cc066976197e51dd191b3dda3c7e85ba6675a4f.tar.gz |
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)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ufs/quota.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ufs/quota.h b/sys/ufs/ufs/quota.h index 49b2629..60828a3 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 */ |