xfs
[Top] [All Lists]

Re: Quotactl change

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Quotactl change
From: Jan Kara <jack@xxxxxxx>
Date: Tue, 9 Oct 2001 09:34:25 +0200
Cc: Alexander Viro <viro@xxxxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20011008203418.A505344@wobbly.melbourne.sgi.com>
References: <20011006150731.C30450@atrey.karlin.mff.cuni.cz> <Pine.GSO.4.21.0110061417260.6465-100000@weyl.math.psu.edu> <20011008203418.A505344@wobbly.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.20i
  Hello,

> Al - is the attached patch more along the lines of what you
> were after?
> 
> Jan - I think this is actually alot closer to what you were
> talking about when we last discussed this.  Can you see any
> problems from a VFS quota point of view here?  I had to make
> small interface changes to a couple of the dquot.c routines
> to make this simpler/more uniform in places - could you have
> cross-check those for me?
  I see two problems:

1) You changed interface do dquot_sync() - so you should also
   change DQUOT_SYNC() macro in quotaops.h (rename argument) and
   all callers of DQUOT_SYNC() macro...

2) It seems to me that validate_quotactl() will actually never return
   superblock - instead of 'ret = 0;' there should be 'return sb;'
   and that test 'if (ret)' should be removed....


                                                                Honza


<Prev in Thread] Current Thread [Next in Thread>