From: Richard Sharpe Date: Fri, 6 Dec 2019 05:07:11 +0000 (-0500) Subject: docs-xml/Samba-Developers-Guide/vfs.xml: Fix incorrect VFS func names. X-Git-Tag: ldb-2.1.0~391 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=241f3709de5bc8db39ec47976428e0284b79fb16;p=thirdparty%2Fsamba.git 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 Reviewed-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sun Dec 8 21:50:52 UTC 2019 on sn-devel-184 --- 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,\