btrfs: calculate end of bio offset properly
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Nov 2016 08:07:51 +0000 (09:07 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:20 +0000 (13:45 +0100)
commit2a4d0c9068a6cbd94086953e45625505891490b2
tree7f5af26489c2a264f248444a8f7423ff14ebea3a
parent81381053d094a3098d27eba7bb9b9aaf0e197a4a
btrfs: calculate end of bio offset properly

Use the bvec offset and len members to prepare for multipage bvecs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c