diff options
| author | Christoph Hellwig <[email protected]> | 2019-10-19 09:09:44 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2019-10-21 09:04:58 -0700 |
| commit | 43568226a4a3da1b63a34578d33725291f2c5918 (patch) | |
| tree | d298191dab68754550435e4a666e69af5e025497 /tools/perf/scripts/python | |
| parent | 36adcbace24e99ed89ac5310a0e1c3890e551665 (diff) | |
xfs: factor out a helper to calculate the end_fsb
We have lots of places that want to calculate the final fsb for
a offset + count in bytes and check that the result fits into
s_maxbytes. Factor out a helper for that.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Allison Collins <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions