summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index aaa713e480..414e00c080 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -1273,11 +1273,8 @@ int smb_vfs_call_open(struct vfs_handle_struct *handle,
struct smb_filename *smb_fname, struct files_struct *fsp,
int flags, mode_t mode)
{
-#ifdef AIX
-#undef open /* AIX defines open to be open64 */
-#endif
- VFS_FIND(open);
- return handle->fns->open(handle, smb_fname, fsp, flags, mode);
+ VFS_FIND(open_fn);
+ return handle->fns->open_fn(handle, smb_fname, fsp, flags, mode);
}
NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,