[git pull] vfs.git part 1
From: Al Viro
Date: Wed Jul 05 2017 - 03:14:45 EST
vfs.git topology is rather convoluted this cycle, so
I'm afraid that it'll take more pull requests than usual ;-/
The first pile is #work.misc-set_fs. Assorted getting rid
of cargo-culted access_ok(), cargo-culted set_fs() and
field-by-field copyouts. The same description applies to
a lot of stuff in other branches - this is just the stuff that
didn't fit into a more specific topical branch.
The following changes since commit c86daad2c25bfd4a33d48b7691afaa96d9c5ab46:
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2017-05-26 16:45:13 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc-set_fs
for you to fetch changes up to 8c6657cb50cb037ff58b3f6a547c6569568f3527:
Switch flock copyin/copyout primitives to copy_{from,to}_user() (2017-06-26 23:52:44 -0400)
----------------------------------------------------------------
Al Viro (8):
drbd: ->sendpage() never needed set_fs()
nfsd_readlink(): switch to vfs_get_link()
compat statfs: switch to copy_to_user()
isdn: get rid of pointless access_ok()
adb: get rid of pointless access_ok()
lpfc debugfs: get rid of pointless access_ok()
Merge remote-tracking branch 'jl/locks-4.13' into work.misc-set_fs
Switch flock copyin/copyout primitives to copy_{from,to}_user()
Christoph Hellwig (2):
fs/locks: pass kernel struct flock to fcntl_getlk/setlk
fs/locks: don't mess with the address limit in compat_fcntl64
Jeff Layton (1):
fs/fcntl: return -ESRCH in f_setown when pid/pgid can't be found
Jiri Slaby (2):
fs/fcntl: f_setown, allow returning error
fs/fcntl: f_setown, avoid undefined behaviour
Mauro Carvalho Chehab (1):
fs: locks: Fix some troubles at kernel-doc comments
drivers/block/drbd/drbd_main.c | 3 -
drivers/isdn/i4l/isdn_common.c | 18 ---
drivers/isdn/i4l/isdn_ppp.c | 6 -
drivers/isdn/isdnloop/isdnloop.c | 2 -
drivers/macintosh/adb.c | 4 -
drivers/scsi/lpfc/lpfc_debugfs.c | 20 ----
fs/fcntl.c | 231 +++++++++++++++++++++++----------------
fs/locks.c | 97 +++++-----------
fs/nfsd/vfs.c | 39 +++----
fs/statfs.c | 58 +++++-----
include/linux/fs.h | 10 +-
net/socket.c | 3 +-
12 files changed, 220 insertions(+), 271 deletions(-)