diff options
author | Brian Foster <bfoster@redhat.com> | 2012-12-21 16:45:17 +0100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-01-03 22:58:39 +0100 |
commit | f755503206ef705c20db622637d80a3e1b94a6f5 (patch) | |
tree | 8945164d2a310dc65730ca22e5dbdf8e9c8c3fd9 /fs/xfs/xfs_alloc.c | |
parent | Merge branch 'xfs-for-3.9' (diff) | |
download | linux-f755503206ef705c20db622637d80a3e1b94a6f5.tar.xz linux-f755503206ef705c20db622637d80a3e1b94a6f5.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions