diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:34:30 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:34:30 (GMT) |
commit | 857b9778d86ccba7d7b42c9d8aeecde794ec8a6b (patch) | |
tree | 8e336f66e4e712da3f6d3f9a2f87bd2e0a8ca781 /sound | |
parent | 681b120018e3c7e2680c93e8188c5ee34215df2f (diff) | |
download | linux-fsl-qoriq-857b9778d86ccba7d7b42c9d8aeecde794ec8a6b.tar.xz |
xfs: kill xfs_itruncate_start
xfs_itruncate_start is a rather length wrapper that evaluates to a call
to xfs_ioend_wait and xfs_tosspages, and only has two callers.
Instead of using the complicated checks left over from IRIX where we
can to truncate the pagecache just call xfs_tosspages
(aka truncate_inode_pages) directly as we want to get rid of all data
after i_size, and truncate_inode_pages handles incorrect alignments
and too large offsets just fine.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions