Re: [PATCH] xfs: remove int casts from debug dquot soft limit timer asserts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 21, 2012 at 10:45:17AM -0500, Brian Foster wrote:
> The int casts here make it easy to trigger an assert with a large
> soft limit. For example, set a >4TB soft limit on an empty volume
> to reproduce a (0 > -x) comparison due to an overflow of
> d_blk_softlimit.
> 
> Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx>

Looks good.

Reviewed-by: Ben Myers <bpm@xxxxxxx>

committed to git://oss.sgi.com/xfs/xfs.git master and for-next branches

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux