docs-xml/Samba-Developers-Guide/vfs.xml: Fix incorrect VFS func names.
authorRichard Sharpe <realrichardsharpe@gmail.com>
Fri, 6 Dec 2019 05:07:11 +0000 (00:07 -0500)
committerJeremy Allison <jra@samba.org>
Sun, 8 Dec 2019 21:50:52 +0000 (21:50 +0000)
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

docs-xml/Samba-Developers-Guide/vfs.xml

index 8275d313ed1fb1d9035227dbc3400df71ac47f0a..948b98936a25f463cc69f70f4a02916773edf2eb 100644 (file)
@@ -235,14 +235,14 @@ DO NOT ACCESS conn-&gt;vfs.ops.* directly !!!
 #define SMB_VFS_CLOSE(fsp, fd) \
        ((fsp)-&gt;conn-&gt;vfs.ops.close(\
        (fsp)-&gt;conn-&gt;vfs.handles.close, (fsp), (fd)))
-#define SMB_VFS_READ(fsp, fd, data, n) \
+#define SMB_VFS_PREAD(fsp, fd, data, n, off) \
        ((fsp)-&gt;conn-&gt;vfs.ops.read(\
        (fsp)-&gt;conn-&gt;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)-&gt;conn-&gt;vfs.ops.write(\
        (fsp)-&gt;conn-&gt;vfs.handles.write,\
-        (fsp), (fd), (data), (n)))
+        (fsp), (fd), (data), (n), (off)))
 #define SMB_VFS_LSEEK(fsp, fd, offset, whence) \
        ((fsp)-&gt;conn-&gt;vfs.ops.lseek(\
        (fsp)-&gt;conn-&gt;vfs.handles.lseek,\