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 22:05:10 +0000 (16:05 -0600)
commit65e3aa77f1b0269720660a6879f6f28d158f54c8
tree26c9e4f499c65f96b07ff5c30e3c809d0c193b22
parent4b05d09c18d9aa62d2e7fb4b057f54e5a38963f5
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