Problem Description: A potential bug is detected by our tool in linux- 2.6.11.7/fs/xfs/quota/xfs_trans_dquot.c: --- xfs_trans_dquot.c 2005-04-25 18:32:00.000000000 -0500 +++ xfs_trans_dquot.fixed.c 2005-04-25 18:33:41.000000000 -0500 @@ -499,7 +499,7 @@ * Adjust the RT reservation. */ if (qtrx->qt_rtblk_res != 0) { - if (qtrx->qt_blk_res != qtrx->qt_blk_res_used) { + if (qtrx->qt_rtblk_res != qtrx- >qt_blk_res_used) { if (qtrx->qt_rtblk_res > qtrx->qt_rtblk_res_used) dqp->q_res_rtbcount -= (xfs_qcnt_t)
Hi there, Yes, that fix is correct. This is benign though, since its currently not possible to mount realtime XFS subvolumes with quota enabled (and realtime is still experimental anyway) - but, thanks, and I'll get it merged shortly. cheers.
The patch has been included in 2.6.13-rc .