Btrfs: fix arguments to btrfs_wait_on_page_writeback_range
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Sep 2009 20:47:08 +0000 (16:47 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 1 Oct 2009 14:27:01 +0000 (10:27 -0400)
commit35d62a942db5ae03104929fe7397835b572c4bc4
tree91ea5b0a79e898f57cd644e1ff0437748aa0781b
parentdd7e0b7b02ccff73b87032e20fc5b4f2c1cfcc14
Btrfs: fix arguments to btrfs_wait_on_page_writeback_range

wait_on_page_writeback_range/btrfs_wait_on_page_writeback_range takes
a pagecache offset, not a byte offset into the file.  Shift the arguments
around to wait for the correct range

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c