Re: Ext2 quota bug in 2.4.8

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Aug 22 2001 - 04:21:02 EST


On Wed, 22 Aug 2001, Jan Kara wrote:

> Hello,
>
> Jan Sanislo <oystr@cs.washington.edu> found a bug in ext2 quota code in 2.4.6+.
> During changes in ext2 code in 2.4.6 some DQUOT_INIT()s were removed but they
> shouldn't and as a result quota is not computed right.
> The patch which adds missing DQUOT_INIT()s is below. I didn't place DQUOT_INIT()s to
> original places but rather to generic vfs parts which seems better to me.
> Please apply - patch is against 2.4.8.

Wrong place - DQUOT_INIT should be in iput(), just before the call of
->delete_inode()

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:48 EST