mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
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)
This commit is contained in:
parent
caecb2f4c0
commit
9cdb2d4d9d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111423
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user