diff options
Diffstat (limited to 'fs/xfs/xfs_dfrag.c')
| -rw-r--r-- | fs/xfs/xfs_dfrag.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dfrag.c b/fs/xfs/xfs_dfrag.c index d0e9c74d3d9..a8bd26b82ec 100644 --- a/fs/xfs/xfs_dfrag.c +++ b/fs/xfs/xfs_dfrag.c @@ -246,10 +246,10 @@ xfs_swap_extents(  		goto out_unlock;  	} -	error = -filemap_write_and_wait(VFS_I(ip)->i_mapping); +	error = -filemap_write_and_wait(VFS_I(tip)->i_mapping);  	if (error)  		goto out_unlock; -	truncate_pagecache_range(VFS_I(ip), 0, -1); +	truncate_pagecache_range(VFS_I(tip), 0, -1);  	/* Verify O_DIRECT for ftmp */  	if (VN_CACHED(VFS_I(tip)) != 0) {  |