new helper: iov_iter_rw()
authorOmar Sandoval <osandov@osandov.com>
Tue, 17 Mar 2015 21:04:02 +0000 (14:04 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Apr 2015 02:29:44 +0000 (22:29 -0400)
commitbd8e0ff956456ad9071dbb6c2ed7d33bd22fc216
treeb5b35ab8f9c73cc5d71967d5b3ef22047ac92ed6
parent8436318205b9f29e45db88850ec60e326327e241
new helper: iov_iter_rw()

Get either READ or WRITE out of iter->type.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/uio.h