tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: the bouyer-quota2 branch



On Fri, Mar 11, 2011 at 03:09:28PM +1100, matthew green wrote:
> 
> > > > Agreed. So let's keep quotactl(2) ... it's fine and is working.
> > > 
> > > i'd rather use quotactl2() than the old name.
> > > 
> > > other ideas:
> > >   
> > >   quotapropctl()
> > >   quotaprop()
> > > 
> > > and i'd be ok with quotapctl() as well.
> > 
> > I still don't understand what problem we're trying to fix. OK, by using
> > another name we don't need RENAME(). But why is it harmfull ?
> > How is it worse than other syscalls or functions which have been versionned 
> > ?
> 
> the big difference is that the API has changed, not just the ABI.
> usually RENAME is used when we change some type related to the
> syscall, not the actual argument types themselves.
> 
> ie, old code with quotactl() won't compile now.

it will, because it won't include <sys/quota.h> which is also new with
quota2.h

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index