mirror_zfs/module/spl
Brian Behlendorf ed19bccfb6
Linux 4.14 compat: vfs_read & vfs_write
The kernel_read & kernel_write functions have always wrapped the
vfs_read & vfs_write functions respectively.  However, they could
not be used by vn_rdwr() since the offset wasn't passed as a
pointer.  This prevented us from being able to properly update
the file offset.

Linux 4.14 unexported vfs_read & vfs_write but also changed the
signature of kernel_read & kernel_write to provide the needed
functionality.  Use these updated functions when available.

Reviewed-by: Pritam Baral <pritam@pritambaral.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #656 
Closes #667
2017-11-15 17:19:23 -08:00
..
Makefile.in Support parallel build trees (VPATH builds) 2015-07-17 12:53:11 -07:00
spl-atomic.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-condvar.c Fix cv_timedwait timeout 2017-05-25 10:01:44 -07:00
spl-cred.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-err.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-generic.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-kmem-cache.c Remove all spin_is_locked calls 2017-10-30 11:16:56 -07:00
spl-kmem.c make module/spl/spl-kmem.c non-executable (again) 2017-08-10 15:23:43 -07:00
spl-kobj.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-kstat.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-mutex.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-proc.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-rwlock.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-taskq.c Remove all spin_is_locked calls 2017-10-30 11:16:56 -07:00
spl-thread.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-tsd.c Remove all spin_is_locked calls 2017-10-30 11:16:56 -07:00
spl-vmem.c Fix vmem_size() 2016-11-02 10:34:19 -07:00
spl-vnode.c Linux 4.14 compat: vfs_read & vfs_write 2017-11-15 17:19:23 -08:00
spl-xdr.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00
spl-zlib.c Make file headers conform to ZFS style standard 2017-10-09 14:27:27 -07:00