summaryrefslogtreecommitdiffstats
path: root/cmd/splslab
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-11-15 17:19:23 -0800
committerGitHub <[email protected]>2017-11-15 17:19:23 -0800
commited19bccfb651843fa208232b3a2d3d22a4152bc8 (patch)
treeacfc58ea9f9a8d996cc566e7b43b4c01b2abea5c /cmd/splslab
parent35a44fcb8d6e346f51be82dfe57562c2ea0c6a9c (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #656 Closes #667
Diffstat (limited to 'cmd/splslab')
0 files changed, 0 insertions, 0 deletions