hi Jan,

On Sep 29,  6:01pm, Jan Kara wrote:
> Subject: Fixes in quota (fwd)
> 
>   Hello.
> 
>   So I did the fixes of races in quota Al found. The patch can
> be found at 
>ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/quota-fix-2.4.0-test8-1.diff.
>   In the patch are included also some cleanups (especially change in
> invalidate_dquots()) which I originally wanted to leave for 2.5 but they
> simplified fixing of races a lot. The patch seems to work for me but
> I didn't test it heavily.
>   I'd be grateful if anybody else tried the patch too. It shouldn't eat
> your data but oopses are possible...
> 

I'm running a test8 + xfs + your patch kernel.  I saw two compiler
warnings (egcs-2.91.66) when building...

(fs/nfsd/)
vfs.c: In function `nfsd_setattr':
vfs.c:303: warning: passing arg 1 of `DQUOT_TRANSFER' from incompatible pointer 

looks nasty - should be...
303c303
<               err = DQUOT_TRANSFER(dentry, iap);
---
>               err = DQUOT_TRANSFER(inode, iap);

dquot.c: In function `print_warning':
dquot.c:802: warning: passing arg 2 of `tty_write_message' discards `const' from

nothing major here - either need to change printk.c to take a
const, or cast...
802c802
<       tty_write_message(current->tty, bdevname(dquot->dq_sb->s_dev));
---
>       tty_write_message(current->tty, (char *)bdevname(dquot->dq_sb->s_dev));


Previously I had been using test5 + xfs + your test6 patch -
this patch contained a whole lot of other interesting stuff
(esp. the ondisk quota file format changes) - any chance you'll
be making a new test8 patch with those changes available?

I had also been using your version 3 quota utils (without any
problems) & would like to continue doing that, but suspect that
the test8 fixes and your previous patch wont merge cleanly...

cheers.

-- 
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to