[GIT PULL] vfs patches for 4.11

From: Miklos Szeredi
Date: Mon Feb 20 2017 - 11:19:09 EST


Hi Al,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git for-viro

This contains:

- preparation for using tmpfile for regular file copy-up on overlayfs
- freeze protection fixes
- preparation for intercepting certain ops for consistent handling of r/o opens
on overlayfs

Thanks,
Miklos

---
Amir Goldstein (4):
vfs: create vfs helper vfs_tmpfile()
vfs: deny fallocate() on directory
vfs: deny copy_file_range() for non regular files
vfs: wrap write f_ops with file_{start,end}_write()

Miklos Szeredi (5):
vfs: extract common parts of {compat_,}do_readv_writev()
vfs: pass type instead of fn to do_{loop,iter}_readv_writev()
vfs: use helpers for calling f_op->{read,write}_iter()
mm: use helper for calling f_op->mmap()
vfs: use helper for calling f_op->fsync()

---
drivers/block/loop.c | 4 +-
drivers/gpu/drm/i915/i915_gem_dmabuf.c | 2 +-
drivers/gpu/drm/vgem/vgem_drv.c | 2 +-
fs/aio.c | 4 +-
fs/coda/file.c | 2 +-
fs/namei.c | 68 ++++++++++-------
fs/open.c | 14 ++--
fs/read_write.c | 130 ++++++++++++++-------------------
fs/splice.c | 2 +-
fs/sync.c | 2 +-
include/linux/fs.h | 52 +++++++++----
ipc/shm.c | 4 +-
mm/mmap.c | 2 +-
mm/nommu.c | 4 +-
14 files changed, 158 insertions(+), 134 deletions(-)