Skip to content
Commit 00e23707 authored by David Howells's avatar David Howells
Browse files

iov_iter: Use accessor function



Use accessor functions to access an iterator's type and direction.  This
allows for the possibility of using some other method of determining the
type of iterator than if-chains with bitwise-AND conditions.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 1fcb748d
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