aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_pnfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_pnfs.c')
-rw-r--r--fs/xfs/xfs_pnfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_pnfs.c b/fs/xfs/xfs_pnfs.c
index ade236e90bb3..51ddaf2c2b8c 100644
--- a/fs/xfs/xfs_pnfs.c
+++ b/fs/xfs/xfs_pnfs.c
@@ -293,8 +293,8 @@ xfs_fs_commit_blocks(
293 * Make sure reads through the pagecache see the new data. 293 * Make sure reads through the pagecache see the new data.
294 */ 294 */
295 error = invalidate_inode_pages2_range(inode->i_mapping, 295 error = invalidate_inode_pages2_range(inode->i_mapping,
296 start >> PAGE_CACHE_SHIFT, 296 start >> PAGE_SHIFT,
297 (end - 1) >> PAGE_CACHE_SHIFT); 297 (end - 1) >> PAGE_SHIFT);
298 WARN_ON_ONCE(error); 298 WARN_ON_ONCE(error);
299 299
300 error = xfs_iomap_write_unwritten(ip, start, length); 300 error = xfs_iomap_write_unwritten(ip, start, length);