diff options
author | David Schultz <das@FreeBSD.org> | 2003-02-24 08:49:59 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2003-02-24 08:49:59 +0000 |
commit | 9cdb2d4d9d590a2a24bf7a304ca67f65daad98a6 (patch) | |
tree | 3788421bfbd7feeb8ad6e8784494b9827a1fc5d9 /sys/ufs | |
parent | caecb2f4c0461df16da9895ea72ab65dd690d4e4 (diff) | |
download | src-9cdb2d4d9d590a2a24bf7a304ca67f65daad98a6.tar.gz src-9cdb2d4d9d590a2a24bf7a304ca67f65daad98a6.zip |
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)
Notes
Notes:
svn path=/head/; revision=111423
Diffstat (limited to 'sys/ufs')
-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 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 */ |