aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dfrag.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_dfrag.c')
-rw-r--r--fs/xfs/xfs_dfrag.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dfrag.c b/fs/xfs/xfs_dfrag.c
index fb6f22c511e2..de35d18cc002 100644
--- a/fs/xfs/xfs_dfrag.c
+++ b/fs/xfs/xfs_dfrag.c
@@ -199,7 +199,9 @@ xfs_swap_extents(
199 199
200 if (VN_CACHED(tvp) != 0) { 200 if (VN_CACHED(tvp) != 0) {
201 xfs_inval_cached_trace(&tip->i_iocore, 0, -1, 0, -1); 201 xfs_inval_cached_trace(&tip->i_iocore, 0, -1, 0, -1);
202 bhv_vop_flushinval_pages(tvp, 0, -1, FI_REMAPF_LOCKED); 202 error = bhv_vop_flushinval_pages(tvp, 0, -1, FI_REMAPF_LOCKED);
203 if (error)
204 goto error0;
203 } 205 }
204 206
205 /* Verify O_DIRECT for ftmp */ 207 /* Verify O_DIRECT for ftmp */