aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_aops.c')
-rw-r--r--fs/xfs/xfs_aops.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index a8f63f38b8f7..4ef1340d98f2 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -827,8 +827,9 @@ xfs_vm_invalidatepage(
827 unsigned int offset, 827 unsigned int offset,
828 unsigned int length) 828 unsigned int length)
829{ 829{
830 trace_xfs_invalidatepage(page->mapping->host, page, offset); 830 trace_xfs_invalidatepage(page->mapping->host, page, offset,
831 block_invalidatepage(page, offset, PAGE_CACHE_SIZE - offset); 831 length);
832 block_invalidatepage(page, offset, length);
832} 833}
833 834
834/* 835/*
@@ -922,7 +923,7 @@ xfs_vm_writepage(
922 int count = 0; 923 int count = 0;
923 int nonblocking = 0; 924 int nonblocking = 0;
924 925
925 trace_xfs_writepage(inode, page, 0); 926 trace_xfs_writepage(inode, page, 0, 0);
926 927
927 ASSERT(page_has_buffers(page)); 928 ASSERT(page_has_buffers(page));
928 929
@@ -1153,7 +1154,7 @@ xfs_vm_releasepage(
1153{ 1154{
1154 int delalloc, unwritten; 1155 int delalloc, unwritten;
1155 1156
1156 trace_xfs_releasepage(page->mapping->host, page, 0); 1157 trace_xfs_releasepage(page->mapping->host, page, 0, 0);
1157 1158
1158 xfs_count_page_state(page, &delalloc, &unwritten); 1159 xfs_count_page_state(page, &delalloc, &unwritten);
1159 1160