mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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
This commit is contained in:
parent
5b8b9cd1c4
commit
241f3709de
@ -235,14 +235,14 @@ DO NOT ACCESS conn->vfs.ops.* directly !!!
|
|||||||
#define SMB_VFS_CLOSE(fsp, fd) \
|
#define SMB_VFS_CLOSE(fsp, fd) \
|
||||||
((fsp)->conn->vfs.ops.close(\
|
((fsp)->conn->vfs.ops.close(\
|
||||||
(fsp)->conn->vfs.handles.close, (fsp), (fd)))
|
(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.ops.read(\
|
||||||
(fsp)->conn->vfs.handles.read,\
|
(fsp)->conn->vfs.handles.read,\
|
||||||
(fsp), (fd), (data), (n)))
|
(fsp), (fd), (data), (n), (off)))
|
||||||
#define SMB_VFS_WRITE(fsp, fd, data, n) \
|
#define SMB_VFS_PWRITE(fsp, fd, data, n, off) \
|
||||||
((fsp)->conn->vfs.ops.write(\
|
((fsp)->conn->vfs.ops.write(\
|
||||||
(fsp)->conn->vfs.handles.write,\
|
(fsp)->conn->vfs.handles.write,\
|
||||||
(fsp), (fd), (data), (n)))
|
(fsp), (fd), (data), (n), (off)))
|
||||||
#define SMB_VFS_LSEEK(fsp, fd, offset, whence) \
|
#define SMB_VFS_LSEEK(fsp, fd, offset, whence) \
|
||||||
((fsp)->conn->vfs.ops.lseek(\
|
((fsp)->conn->vfs.ops.lseek(\
|
||||||
(fsp)->conn->vfs.handles.lseek,\
|
(fsp)->conn->vfs.handles.lseek,\
|
||||||
|
Loading…
Reference in New Issue
Block a user