From 03c382a1f2dfc7ec9ed0e05c1186303a3f6fd700 Mon Sep 17 00:00:00 2001 From: Torsten Kaiser Date: Sun, 20 Jan 2013 10:24:49 +0100 Subject: [PATCH] --- yaml --- r: 352926 b: refs/heads/master c: 2729423cf2ef3ac51d040f24a5ddd84c1b2acc70 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_dfrag.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 21490fa6b275..d90c3eee9d93 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ced55f38d6bde7c10a14ea51c2edcd51a98575e3 +refs/heads/master: 2729423cf2ef3ac51d040f24a5ddd84c1b2acc70 diff --git a/trunk/fs/xfs/xfs_dfrag.c b/trunk/fs/xfs/xfs_dfrag.c index d0e9c74d3d96..a8bd26b82ecb 100644 --- a/trunk/fs/xfs/xfs_dfrag.c +++ b/trunk/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) {