Skip to content
Commit 642f1490 authored by Jens Axboe's avatar Jens Axboe
Browse files

SG: Change sg_set_page() to take length and offset argument



Most drivers need to set length and offset as well, so may as well fold
those three lines into one.

Add sg_assign_page() for those two locations that only needed to set
the page, where the offset/length is set outside of the function context.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent bd6dee6f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment