Merge tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Jul 2020 16:45:15 +0000 (09:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Jul 2020 16:45:15 +0000 (09:45 -0700)
commitb1b11d0063aab28aaf65f63cff56470bc01dc290
tree11c80d3317990b4bc7d1128c63fc63f444deca3b
parent1bfde037425d91d1d615d30ec362f5f5c1ca0dd2
parent775802c0571fb438cd4f6548a323f9e4cb89f5aa
Merge tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc

Pull in-kernel read and write op cleanups from Christoph Hellwig:
 "Cleanup in-kernel read and write operations

  Reshuffle the (__)kernel_read and (__)kernel_write helpers, and ensure
  all users of in-kernel file I/O use them if they don't use iov_iter
  based methods already.

  The new WARN_ONs in combination with syzcaller already found a missing
  input validation in 9p. The fix should be on your way through the
  maintainer ASAP".

[ This is prep-work for the real changes coming 5.9 ]

* tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc:
  fs: remove __vfs_read
  fs: implement kernel_read using __kernel_read
  integrity/ima: switch to using __kernel_read
  fs: add a __kernel_read helper
  fs: remove __vfs_write
  fs: implement kernel_write using __kernel_write
  fs: check FMODE_WRITE in __kernel_write
  fs: unexport __kernel_write
  bpfilter: switch to kernel_write
  autofs: switch to kernel_write
  cachefiles: switch to kernel_write
include/linux/fs.h