]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc770dd126b89f7d4f02104fe8afb582c6da37f84
tree05a9db8c702de1ab393e66959a7ce9a22702c48b
parente2742b2abff1b0b75e33d42992e95303cb882ae6
xfs: Fix xfs_swap_extents() after removal of xfs_flushinval_pages()

Commit 2334d83d0fc4f988f2145232abec398712a4d180 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