nfsd: use vfs_iter_read/write
authorChristoph Hellwig <hch@lst.de>
Sat, 27 May 2017 08:16:53 +0000 (11:16 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 29 Jun 2017 21:49:24 +0000 (17:49 -0400)
commit73da852e3831bdc7a38d8d5fba178f35c923b264
treea6a6d7628fd4ba9e7950ff127a4c62e67782953c
parentabbb65899aecfc97bda64b6816d1e501754cfe1f
nfsd: use vfs_iter_read/write

Instead of messing with the address limit to use vfs_read/vfs_writev.

Note that this requires that exported file implement ->read_iter and
->write_iter.  All currently exportable file systems do this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/vfs.c