On Thu, Feb 20, 2014 at 12:39:59PM +0100, Jan Kara wrote:
> Global quota files are accessed from different nodes. Thus we cannot
> cache offset of quota structure in the quota file after we drop our
> node reference count to it because after that moment quota structure may
> be freed and reallocated elsewhere by a different node resulting in
> corruption of quota file.
> 
> Fix the problem by clearing dq_off when we are releasing dquot
> structure. We also remove the DB_READ_B handling because it is useless -
> DQ_ACTIVE_B is set iff DQ_READ_B is set.
> 
> CC: [email protected]
> CC: Goldwyn Rodrigues <[email protected]>
> CC: Mark Fasheh <[email protected]>
> Signed-off-by: Jan Kara <[email protected]>

Thanks Jan, this looks good.

Reviewed-by: Mark Fasheh <[email protected]>
        --Mark

--
Mark Fasheh
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to