[patch] Re: XFS, Quotas and Samba

Nathan Scott nathans at sgi.com
Mon Sep 10 02:00:02 GMT 2001


hi Jan,

On Mon, Sep 10, 2001 at 10:00:26AM +0200, Jan Kara wrote:
>   Hello,
> ...
>   The patch seems to have one small problem: if version == 2 then
> size is set to D2.dqb_curspace but IMHO it should be something like
> toqb(D2.dqb_curspace).
> 

There's a line in there before "curspace" is used which
converts from bytes to 1K blocks ("curspace >>= 10;"),
and we set blocksize to 1K for both VFS quota versions
... is that approach too simple?  (do I need to do the
FIOQSIZE thing or something more complex like that?)

thanks.

-- 
Nathan




More information about the samba-technical mailing list