diff options
author | Günther Deschner <gd@samba.org> | 2011-04-20 22:55:25 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-04-21 02:01:20 +0200 |
commit | c7073f8b545976719bfdba7b7bbd460d595041d5 (patch) | |
tree | 6386c21fa822098c285bbf4358b7df5ba7e96f47 /source3/smbd | |
parent | 0b89ce671250daddc86400ef4e1996c37c126025 (diff) | |
download | samba-c7073f8b545976719bfdba7b7bbd460d595041d5.tar.gz samba-c7073f8b545976719bfdba7b7bbd460d595041d5.tar.bz2 samba-c7073f8b545976719bfdba7b7bbd460d595041d5.zip |
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 <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/vfs.c | 7 |
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, |