mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3: VFS: default: Remove recursion into the VFS inside the default pwrite call.
We already know we're at the POSIX level here. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
90bd74640f
commit
23f4b3f0ed
@ -660,7 +660,7 @@ static ssize_t vfswrap_pwrite(vfs_handle_struct *handle, files_struct *fsp, cons
|
||||
|
||||
if (result == -1 && errno == ESPIPE) {
|
||||
/* Maintain the fiction that pipes can be sought on. */
|
||||
result = SMB_VFS_WRITE(fsp, data, n);
|
||||
result = sys_write(fsp->fh->fd, data, n);
|
||||
}
|
||||
|
||||
#else /* HAVE_PWRITE */
|
||||
|
Loading…
Reference in New Issue
Block a user