diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-08-03 18:41:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-08-03 18:41:45 +0000 |
commit | 1a70d4b7125e8a51628b798941084953e13658c3 (patch) | |
tree | 92ea5270832ad124f59205a32fd2d89edd94d902 /sys/ufs | |
parent | 69e7d352546777fc42fce40fff48d89cf7e80e15 (diff) |
Increase dq_cnt in struct dquot from 16 to 32bits. OK deraadt@
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_quota.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index 761eb2784f5..db8cf24d2ab 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_quota.c,v 1.27 2007/03/21 17:29:32 thib Exp $ */ +/* $OpenBSD: ufs_quota.c,v 1.28 2007/08/03 18:41:44 millert Exp $ */ /* $NetBSD: ufs_quota.c,v 1.8 1996/02/09 22:36:09 christos Exp $ */ /* @@ -62,9 +62,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 vnode *dq_vp; /* file backing this quota */ struct ucred *dq_cred; /* credentials for writing file */ |