]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Btrfs: walk compressed pages based on the nr_pages count instead of bytes
authorChris Mason <chris.mason@oracle.com>
Thu, 30 Oct 2008 17:22:14 +0000 (13:22 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 30 Oct 2008 17:22:14 +0000 (13:22 -0400)
commitcfbc246eaae2a1089911016094b74b3055e8a906
treec450f02cd605b38a578778dacd9c8768ce041789
parent87ef2bb46bfc4be0b40799e68115cbe28d80a1bd
Btrfs: walk compressed pages based on the nr_pages count instead of bytes

The byte walk counting was awkward and error prone.  This uses the
number of pages sent the higher layer to build bios.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/compression.c
fs/btrfs/inode.c