diff options
author | Jeremy Allison <jra@samba.org> | 2002-09-17 19:48:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-09-17 19:48:19 +0000 |
commit | 9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d (patch) | |
tree | c6dbbe5495a7d3245be2a395383847afb654943d /source3/smbd/vfs.c | |
parent | b33681fc0b8ef7b9fa91c154f7c3117afafa349e (diff) | |
download | samba-9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d.tar.gz samba-9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d.tar.bz2 samba-9bab1d0c1a51a7532da0c55a59cf5a91b8ab6a3d.zip |
Actually use sendfile if selected.
Jeremy.
(This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 6869c61861..a0a7b920b8 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -68,6 +68,7 @@ static struct vfs_ops default_vfs_ops = { vfswrap_read, vfswrap_write, vfswrap_lseek, + vfswrap_sendfile, vfswrap_rename, vfswrap_fsync, vfswrap_stat, @@ -263,6 +264,7 @@ BOOL smbd_vfs_init(connection_struct *conn) /******************************************************************* Create vfs_ops reflecting current vfs_opaque_ops *******************************************************************/ + struct vfs_ops *smb_vfs_get_opaque_ops(void) { int i; @@ -301,6 +303,7 @@ BOOL vfs_directory_exist(connection_struct *conn, const char *dname, SMB_STRUCT_ /******************************************************************* vfs getwd wrapper ********************************************************************/ + static char *vfs_getwd(connection_struct *conn, char *path) { return conn->vfs_ops.getwd(conn,path); |