diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-05-11 23:34:18 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-05-11 23:34:18 +0000 |
commit | 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978 (patch) | |
tree | d6381eba1fa7b3c1452ece871e6a4c90a65b99ff /source/smbd/close.c | |
parent | 02244dac83623dabe927f79780cf4b7313022495 (diff) | |
download | samba-91984ef5caa2d13c5d52e1f535bd3bbbae1ec978.tar.gz samba-91984ef5caa2d13c5d52e1f535bd3bbbae1ec978.tar.xz samba-91984ef5caa2d13c5d52e1f535bd3bbbae1ec978.zip |
Fix VFS layer:
1. Finally work with cascaded modules with private data storage per module
2. Convert VFS API to macro calls to simplify cascading
3. Add quota support to VFS layer (prepare to NT quota support)
Patch by Stefan (metze) Metzemacher, with review of Jelmer and me
Tested in past few weeks. Documentation to new VFS API for third-party developers to follow
Diffstat (limited to 'source/smbd/close.c')
-rw-r--r-- | source/smbd/close.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/close.c b/source/smbd/close.c index 5cca85500fd..a5d74cedb1e 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(fsp->conn->vfs_ops.unlink(conn,fsp->fsp_name) != 0) { + if(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 |