new primitive: iov_iter_alignment()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 5 Mar 2014 18:50:45 +0000 (13:50 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:32:47 +0000 (17:32 -0400)
commit886a39115005ced8b15ab067c9c2a8d546b40a5e
treecb72af0480369f31a449aa7a8451d407315c2bf3
parent26978b8b4d83c46f4310b253db70fa9e65149e7c
new primitive: iov_iter_alignment()

returns the value aligned as badly as the worst remaining segment
in iov_iter is.  Use instead of open-coded equivalents.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/lustre/lustre/llite/rw26.c
fs/direct-io.c
include/linux/uio.h
mm/iov_iter.c