]> 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 22:05:10 +0000 (16:05 -0600)
commitd525fb8650cd24112602a20fc91f7efed0bb02f2
tree26c9e4f499c65f96b07ff5c30e3c809d0c193b22
parentbfce11729fb7381c0e1076f93b036e46f96b8269
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