Btrfs: remove duplicates of filemap_ helpers
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Oct 2009 16:58:30 +0000 (12:58 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 1 Oct 2009 16:58:30 +0000 (12:58 -0400)
Use filemap_fdatawrite_range and filemap_fdatawait_range instead of
local copies of the functions.  For filemap_fdatawait_range that
also means replacing the awkward old wait_on_page_writeback_range
calling convention with the regular filemap byte offsets.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found