diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-07-20 11:51:31 +0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 22:16:52 +0400 |
commit | 5d18898b20dfed5f373f8a9a7cbe01446036f8e9 (patch) | |
tree | dc96915d62c7140ad4ac33a3724ddf36f9db022f /fs/xfs/xfs_buf_item.c | |
parent | 939d723b721eef71060201738653a73443ff4510 (diff) | |
download | linux-5d18898b20dfed5f373f8a9a7cbe01446036f8e9.tar.xz |
xfs: simplify xfs_truncate_file
xfs_truncate_file is only used for truncating quota files. Move it to
xfs_qm_syscalls.c so it can be marked static and take advatange of the
fact by removing the unused page cache validation and taking the iget
into the helper.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
0 files changed, 0 insertions, 0 deletions