On Tue, Jun 21, 2016 at 07:21:09PM +0200, Edgar Fuß wrote:
> I'm confused how the file-system default grace period is supposed to get 
> copied to the per-user grace period quota2 supports. It appears that this 
> happens as soon as something gets allocated for the user (i.e., just by 
> system calls, not by any userland program like edquota). However, I find 
> nothing in sys/ufs/ufs/ufs_quota2.c that looks like it does that. What am 
> I overlooking?
> 
> I remember I wrote the patch that causes qv_timelimit to get set to 
> <current time> + qv_grace, but not how the latter gets set.

It should be
        memcpy(q2e, &q2h->q2h_defentry, sizeof(*q2e));
in quota2_q2ealloc().

-- 
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--

Reply via email to