libata: convert to using sg helpers
This converts libata to using the sg helpers for looking up sg
elements, instead of doing it manually.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
Showing
想要评论请 注册 或 登录
This converts libata to using the sg helpers for looking up sg
elements, instead of doing it manually.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>