[git pull] splice fixups

From: Al Viro
Date: Mon Oct 10 2016 - 14:54:22 EST


A couple of fixups for interaction of pipe-backed iov_iter with
O_DIRECT reads + constification of a couple of primitives in uio.h missed
by previous rounds. Kudos to davej - his fuzzing has caught those bugs.

One conflict in mm/filemap.c, resolved in an obvious way.

The following changes since commit a949e63992469fed87aef197347960ced31701b8:

pipe: fix comment in pipe_buf_operations (2016-10-05 18:24:00 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.splice_read

for you to fetch changes up to cd27e455042da85b088bdd3a6e00da1d5b4df9f1:

[btrfs] fix check_direct_IO() for non-iovec iterators (2016-10-10 13:58:16 -0400)

----------------------------------------------------------------
Al Viro (3):
fix ITER_PIPE interaction with direct_IO
constify iov_iter_count() and iter_is_iovec()
[btrfs] fix check_direct_IO() for non-iovec iterators

fs/btrfs/inode.c | 2 +-
fs/splice.c | 12 +++---------
fs/xfs/xfs_file.c | 2 +-
include/linux/uio.h | 4 ++--
mm/filemap.c | 2 +-
5 files changed, 8 insertions(+), 14 deletions(-)