diff options
author | 2013-10-12 00:55:07 -0700 | |
---|---|---|
committer | 2013-10-21 16:56:21 -0500 | |
commit | 83aee9e4c2976143f35b3a42ad1faadf58c53ae7 (patch) | |
tree | 568ca76e660645e9762f14c1972514b7f59f247c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: always hold the iolock when calling xfs_change_file_space (diff) | |
download | linux-dev-83aee9e4c2976143f35b3a42ad1faadf58c53ae7.tar.xz linux-dev-83aee9e4c2976143f35b3a42ad1faadf58c53ae7.zip |
xfs: simplify the fallocate path
Call xfs_alloc_file_space or xfs_free_file_space directly from
xfs_file_fallocate instead of going through xfs_change_file_space.
This simplified the code by removing the unessecary marshalling of the
arguments into an xfs_flock64_t structure and allows removing checks that
are already done in the VFS code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions