aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_fs_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_fs_subr.c')
-rw-r--r--fs/xfs/xfs_fs_subr.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/xfs/xfs_fs_subr.c b/fs/xfs/xfs_fs_subr.c
index 652b875a9d4c..d49de3d70456 100644
--- a/fs/xfs/xfs_fs_subr.c
+++ b/fs/xfs/xfs_fs_subr.c
@@ -25,18 +25,6 @@
25 * note: all filemap functions return negative error codes. These 25 * note: all filemap functions return negative error codes. These
26 * need to be inverted before returning to the xfs core functions. 26 * need to be inverted before returning to the xfs core functions.
27 */ 27 */
28void
29xfs_tosspages(
30 xfs_inode_t *ip,
31 xfs_off_t first,
32 xfs_off_t last,
33 int fiopt)
34{
35 /* can't toss partial tail pages, so mask them out */
36 last &= ~(PAGE_SIZE - 1);
37 truncate_inode_pages_range(VFS_I(ip)->i_mapping, first, last - 1);
38}
39
40int 28int
41xfs_flushinval_pages( 29xfs_flushinval_pages(
42 xfs_inode_t *ip, 30 xfs_inode_t *ip,