aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2016-02-08 11:25:16 +1100
committerDave Chinner <[email protected]>2016-02-08 11:25:16 +1100
commit8aa7d37ebf2f0cfba1411acb34e7b40e73f653e7 (patch)
treed26e14d7b6d3ebd94c3c9347e6ac0dc608bb2f80 /tools/perf/scripts/python
parent4d4d9523b4ebbd5d97c8b2557c6ee2a3f90b6b3a (diff)
xfs: Factor xfs_seek_hole_data into helper
Factor xfs_seek_hole_data into an unlocked helper which takes an xfs inode rather than a file for internal use. Also allow specification of "end" - the vfs lseek interface is defined such that any offset past eof/i_size shall return -ENXIO, but we will use this for quota code which does not maintain i_size, and we want to be able to SEEK_DATA past i_size as well. So the lseek path can send in i_size, and the quota code can determine its own ending offset. Signed-off-by: Eric Sandeen <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions