summaryrefslogtreecommitdiffstats
path: root/source/smbd/close.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-05-14 10:59:01 +0000
committerAlexander Bokovoy <ab@samba.org>2003-05-14 10:59:01 +0000
commitc2689ed118b490e49497a76ed6a2251262018769 (patch)
tree64d34ddfb5db28c0e2e38aa0156b1566da1dd6d4 /source/smbd/close.c
parent0714dda7cc4a1df73e1b9d11daae80a1f46583de (diff)
downloadsamba-c2689ed118b490e49497a76ed6a2251262018769.tar.gz
samba-c2689ed118b490e49497a76ed6a2251262018769.tar.xz
samba-c2689ed118b490e49497a76ed6a2251262018769.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
Diffstat (limited to 'source/smbd/close.c')
-rw-r--r--source/smbd/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/close.c b/source/smbd/close.c
index a5d74cedb1e..1be13270bab 100644
--- a/source/smbd/close.c
+++ b/source/smbd/close.c
@@ -185,7 +185,7 @@ static int close_normal_file(files_struct *fsp, BOOL normal_close)
if (normal_close && delete_on_close) {
DEBUG(5,("close_file: file %s. Delete on close was set - deleting file.\n",
fsp->fsp_name));
- if(VFS_UNLINK(conn,fsp->fsp_name) != 0) {
+ if(SMB_VFS_UNLINK(conn,fsp->fsp_name) != 0) {
/*
* This call can potentially fail as another smbd may have
* had the file open with delete on close set and deleted