Ethan Benson wrote:
> On Wed, Apr 17, 2002 at 11:00:33AM +0200, Juri Haberland wrote:
>> Ethan Benson wrote:
>>
>> > basically the quota syscalls are returning -EPERM for non-root, this
>> > is a bug in the 2.4.18 split XFS patches, the following patch will
>> > fix it:
>> >
>> > $ diff -Naur quota.c.orig quota.c
>> > --- quota.c.orig Mon Mar 25 12:19:57 2002
>> > +++ quota.c Mon Mar 25 12:20:55 2002
>>
>> [patch snipped]
>>
>> > this is already merged in the XFS cvs tree.
>>
>> Uhm, what XFS cvs tree are you talking about? I cannot find this in the
>
> the 2.4 SGI linux-xfs tree, i know of only one mentioned on thier page...
Could have been the 2.5-tree ;)
>> current 2.4.18 tree. A kernel checked out on 8th April still exhibits
>> this behaviour and I just updated and linux/fs/quota.c wasn't modified...
>>
>> What am I overlooking?
>
> I am pretty sure i saw a TAKE message from Nathan shortly after i
> reported the problem where he merged the patch he sent me (which is is
> what i posted above). you would have to ask him about that. if you
> apply the patch i gave you it will fix the problem though.
Patch won't apply because linux/fs/quota.c is different.
I found the TAKE message - the fix is applied to
cmd/xfsmisc/2.4.18-pre3-ac2-quotactl.patch...
So it seems to me that a 2.4.18 kernel checked out directly from CVS
still has this problem.
Nathan?
Juri
|