mirror_zfs/include/linux
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
..
bitops_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
compiler_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
delay_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
file_compat.h Linux 4.14 compat: vfs_read & vfs_write 2017-11-15 17:19:23 -08:00
list_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
Makefile.am Retire spl_module_init()/spl_module_fini() 2015-02-27 13:43:39 -08:00
math64_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
mm_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
proc_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
rwsem_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
wait_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00
zlib_compat.h Make include/linux/ conform to ZFS style standard 2017-10-09 14:27:27 -07:00