xfs: use range primitives for xfs page cache operations
authorDave Chinner <dchinner@redhat.com>
Tue, 24 Aug 2010 02:01:50 +0000 (12:01 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 18 Oct 2010 20:07:24 +0000 (15:07 -0500)
commit3ae4c9deb30a8d5ee305b461625dcb298c9804a9
treead118eaa99b28ed1742db8c9eb5c572dbeab46a3
parentcd07202cc8262e1669edff0d97715f3dd9260917
xfs: use range primitives for xfs page cache operations

While XFS passes ranges to operate on from the core code, the
functions being called ignore the either the entire range or the end
of the range. This is historical because when the function were
written linux didn't have the necessary range operations. Update the
functions to use the correct operations.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/linux-2.6/xfs_fs_subr.c