Re: [PATCH] Quota fix 2

From: Jan Kara
Date: Mon May 17 2004 - 04:14:40 EST


> Jan Kara <jack@xxxxxx> wrote:
> >
> > another fix for quota code - it fixes the problem with recursion into
> > filesystem when inode of quota file needs a page + some other allocation
> > problems.
>
> It makes sense.
>
> > I hope I got the GFP mask setting right..
>
> nope! Here's a fix against your patch.
Originally I had in the patch something similar but then I read the
comment at mapping_set_gfp_mask():
/*
* This is non-atomic. Only to be used before the mapping is activated.
* Probably needs a barrier...
*/
and so changed that to clear_bit(). Anyway thanks for fixing.

Honza
--
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/