commit | 2e484610296b25f0a04b516bc144a00731d1d845 | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <maximlevitsky@gmail.com> | Thu Sep 27 12:45:28 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 27 12:45:28 2012 +0200 |
tree | d45467ec0b7c2446652e685b270427183471a5ad | |
parent | c2b1ad800b66f62105a7fd250604d72e07202e66 [diff] |
scatterlist: add sg_nents Useful helper to know the number of entries in scatterlist. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Cc: Alex Dubov <oakad@yahoo.com> Acked-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jens Axboe <axboe@kernel.dk>