diff options
author | Darrick J. Wong <[email protected]> | 2016-12-05 12:38:38 +1100 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-12-05 12:38:38 +1100 |
commit | ef388e2054feedaeb05399ed654bdb06f385d294 (patch) | |
tree | 50b1ba9f23aa82d4d8299fb35b1d4b72df316c7e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0f352f8ee8412bd9d34fb2a6411241da61175c0e (diff) |
xfs: don't allow di_size with high bit set
The on-disk field di_size is used to set i_size, which is a signed
integer of loff_t. If the high bit of di_size is set, we'll end up with
a negative i_size, which will cause all sorts of problems. Since the
VFS won't let us create a file with such length, we should catch them
here in the verifier too.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions