diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-05-14 10:59:01 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-05-14 10:59:01 +0000 |
commit | bc2a3748e9caa8f60f7c2387e7eecd7fb3fae899 (patch) | |
tree | a687d4517c20de0efbb94721f8301628f3a529a6 /source3/modules/vfs_fake_perms.c | |
parent | df641bc7caceab142372a279a2844df187c86597 (diff) | |
download | samba-bc2a3748e9caa8f60f7c2387e7eecd7fb3fae899.tar.gz samba-bc2a3748e9caa8f60f7c2387e7eecd7fb3fae899.tar.bz2 samba-bc2a3748e9caa8f60f7c2387e7eecd7fb3fae899.zip |
Prefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out
(This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
Diffstat (limited to 'source3/modules/vfs_fake_perms.c')
-rw-r--r-- | source3/modules/vfs_fake_perms.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/modules/vfs_fake_perms.c b/source3/modules/vfs_fake_perms.c index 2e1267ef1b..740218dcd4 100644 --- a/source3/modules/vfs_fake_perms.c +++ b/source3/modules/vfs_fake_perms.c @@ -31,7 +31,7 @@ static int fake_perms_stat(vfs_handle_struct *handle, connection_struct *conn, c { int ret = -1; - ret = VFS_NEXT_STAT(handle, conn, fname, sbuf); + ret = SMB_VFS_NEXT_STAT(handle, conn, fname, sbuf); if (ret == 0) { extern struct current_user current_user; @@ -51,7 +51,7 @@ static int fake_perms_fstat(vfs_handle_struct *handle, files_struct *fsp, int fd { int ret = -1; - ret = VFS_NEXT_FSTAT(handle, fsp, fd, sbuf); + ret = SMB_VFS_NEXT_FSTAT(handle, fsp, fd, sbuf); if (ret == 0) { extern struct current_user current_user; @@ -69,10 +69,10 @@ static int fake_perms_fstat(vfs_handle_struct *handle, files_struct *fsp, int fd /* VFS operations structure */ static vfs_op_tuple fake_perms_ops[] = { - {VFS_OP(fake_perms_stat), SMB_VFS_OP_STAT, SMB_VFS_LAYER_TRANSPARENT}, - {VFS_OP(fake_perms_fstat), SMB_VFS_OP_FSTAT, SMB_VFS_LAYER_TRANSPARENT}, + {SMB_VFS_OP(fake_perms_stat), SMB_VFS_OP_STAT, SMB_VFS_LAYER_TRANSPARENT}, + {SMB_VFS_OP(fake_perms_fstat), SMB_VFS_OP_FSTAT, SMB_VFS_LAYER_TRANSPARENT}, - {NULL, SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} + {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; NTSTATUS vfs_fake_perms_init(void) |