diff options
| author | 2012-12-21 10:45:17 -0500 | |
|---|---|---|
| committer | 2013-01-16 16:08:40 -0600 | |
| commit | ab7eac22008f044631c0a3f4be344ebc2cb0e266 (patch) | |
| tree | 01a714d7293f62232ce4319b6d29efa1a7e0a2b9 /lib/pm-notifier-error-inject.c | |
| parent | xfs: fix the multi-segment log buffer format (diff) | |
| download | wireguard-linux-ab7eac22008f044631c0a3f4be344ebc2cb0e266.tar.xz wireguard-linux-ab7eac22008f044631c0a3f4be344ebc2cb0e266.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 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
