diff options
author | Richard Sharpe <realrichardsharpe@gmail.com> | 2019-12-06 00:07:11 -0500 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-12-08 21:50:52 +0000 |
commit | 241f3709de5bc8db39ec47976428e0284b79fb16 (patch) | |
tree | 3c11e0b0b81487e44b50013eabef4d3f58bf4128 /docs-xml | |
parent | 5b8b9cd1c4d0065d6987658fdd8e9ec0a7c37a6b (diff) | |
download | samba-241f3709de5bc8db39ec47976428e0284b79fb16.tar.gz |
docs-xml/Samba-Developers-Guide/vfs.xml: Fix incorrect VFS func names.
Use SMB_VFS_P{READ,WRITE} since the others have been retired.
Also, fix up the definitions.
Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Dec 8 21:50:52 UTC 2019 on sn-devel-184
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/Samba-Developers-Guide/vfs.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs-xml/Samba-Developers-Guide/vfs.xml b/docs-xml/Samba-Developers-Guide/vfs.xml index 8275d313ed1..948b98936a2 100644 --- a/docs-xml/Samba-Developers-Guide/vfs.xml +++ b/docs-xml/Samba-Developers-Guide/vfs.xml @@ -235,14 +235,14 @@ DO NOT ACCESS conn->vfs.ops.* directly !!! #define SMB_VFS_CLOSE(fsp, fd) \ ((fsp)->conn->vfs.ops.close(\ (fsp)->conn->vfs.handles.close, (fsp), (fd))) -#define SMB_VFS_READ(fsp, fd, data, n) \ +#define SMB_VFS_PREAD(fsp, fd, data, n, off) \ ((fsp)->conn->vfs.ops.read(\ (fsp)->conn->vfs.handles.read,\ - (fsp), (fd), (data), (n))) -#define SMB_VFS_WRITE(fsp, fd, data, n) \ + (fsp), (fd), (data), (n), (off))) +#define SMB_VFS_PWRITE(fsp, fd, data, n, off) \ ((fsp)->conn->vfs.ops.write(\ (fsp)->conn->vfs.handles.write,\ - (fsp), (fd), (data), (n))) + (fsp), (fd), (data), (n), (off))) #define SMB_VFS_LSEEK(fsp, fd, offset, whence) \ ((fsp)->conn->vfs.ops.lseek(\ (fsp)->conn->vfs.handles.lseek,\ |