Skip to content
Commit 2e484610 authored by Maxim Levitsky's avatar Maxim Levitsky Committed by Jens Axboe
Browse files

scatterlist: add sg_nents



Useful helper to know the number of entries in scatterlist.

Signed-off-by: default avatarMaxim Levitsky <maximlevitsky@gmail.com>
Cc: Alex Dubov <oakad@yahoo.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c2b1ad80
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