From c7073f8b545976719bfdba7b7bbd460d595041d5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 20 Apr 2011 22:55:25 +0200 Subject: s3-vfs: rename open function to open_fn. This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison Autobuild-User: Jeremy Allison Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104 --- source3/smbd/vfs.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source3/smbd/vfs.c') 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, -- cgit