commit | f755503206ef705c20db622637d80a3e1b94a6f5 | [log] [tgz] |
---|---|---|
author | Brian Foster <bfoster@redhat.com> | Fri Dec 21 10:45:17 2012 -0500 |
committer | Ben Myers <bpm@sgi.com> | Thu Jan 03 15:58:39 2013 -0600 |
tree | 8945164d2a310dc65730ca22e5dbdf8e9c8c3fd9 | |
parent | 56431cd194ca67a899a2a01a90ee94388ade1d0b [diff] |
xfs: remove int casts from debug dquot soft limit timer asserts 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@redhat.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>