diff options
Diffstat (limited to 'fs/xfs/xfs_fs_subr.c')
-rw-r--r-- | fs/xfs/xfs_fs_subr.c | 12 |
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 | */ |
28 | void | ||
29 | xfs_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 | |||
40 | int | 28 | int |
41 | xfs_flushinval_pages( | 29 | xfs_flushinval_pages( |
42 | xfs_inode_t *ip, | 30 | xfs_inode_t *ip, |