xfs: Fix xfs_swap_extents() after removal of xfs_flushinval_pages()
authorTorsten Kaiser <just.for.lkml@googlemail.com>
Sun, 20 Jan 2013 09:24:49 +0000 (10:24 +0100)
committerBen Myers <bpm@sgi.com>
Mon, 28 Jan 2013 19:50:10 +0000 (13:50 -0600)
commit2729423cf2ef3ac51d040f24a5ddd84c1b2acc70
tree05a9db8c702de1ab393e66959a7ce9a22702c48b
parentced55f38d6bde7c10a14ea51c2edcd51a98575e3
xfs: Fix xfs_swap_extents() after removal of xfs_flushinval_pages()

Commit fb59581404ab7ec5075299065c22cb211a9262a9 removed
xfs_flushinval_pages() and changed its callers to use
filemap_write_and_wait() and  truncate_pagecache_range() directly.

But in xfs_swap_extents() this change accidental switched the argument
for 'tip' to 'ip'. This patch switches it back to 'tip'

Signed-off-by: Torsten Kaiser <just.for.lkml@googlemail.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dfrag.c