Skip to content
Snippets Groups Projects
Commit cfbc246e authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 87ef2bb4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment