diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-02 09:11:18 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-02 09:11:18 +0000 |
| commit | 4f3ee6dcc43113cd5e9ae20c30823801ede28480 (patch) | |
| tree | 7355f6b7fbb26e03618d927edc46e51e7eeb69b5 | |
| parent | 8c5d01375764917e67068524c353a21182547539 (diff) | |
Notes
| -rw-r--r-- | sys/ufs/ufs/ufs_quota.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index 683169073cb5..258241293e3f 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -254,6 +254,7 @@ chkiq(ip, change, cred, flags) #endif if (change == 0) return (0); + /* XXX: change is unsigned */ if (change < 0) { for (i = 0; i < MAXQUOTAS; i++) { if ((dq = ip->i_dquot[i]) == NODQUOT) @@ -263,6 +264,7 @@ chkiq(ip, change, cred, flags) (void) tsleep((caddr_t)dq, PINOD+1, "chkiq1", 0); } ncurinodes = dq->dq_curinodes + change; + /* XXX: ncurinodes is unsigned */ if (ncurinodes >= 0) dq->dq_curinodes = ncurinodes; else |
