mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
iov_iter: reorder handling of flavours in primitives
iovec is the most common one; test it first and test explicitly, rather than "not anything else". Replace all flavour checks with use of iov_iter_is_...() helpers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
4b6c132b7d
commit
28f38db7ed
1 changed files with 45 additions and 46 deletions
119
lib/iov_iter.c
119
lib/iov_iter.c
Loading…
Add table
Add a link
Reference in a new issue