diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-30 18:33:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-30 18:33:56 +0000 |
commit | 38fc56c8434c427335cf264c4b27420c5ad47566 (patch) | |
tree | 7bec076ed96de1f355bd3876844c1dff29b0fb0f /source/smbd/vfs.c | |
parent | 9890740121ae7bd7a0196bbf946c6f8c82aa7f6e (diff) | |
download | samba-38fc56c8434c427335cf264c4b27420c5ad47566.tar.gz samba-38fc56c8434c427335cf264c4b27420c5ad47566.tar.xz samba-38fc56c8434c427335cf264c4b27420c5ad47566.zip |
Added vfs_unlink call to ensure vfs is used on unlink from client.
Jeremy.
Diffstat (limited to 'source/smbd/vfs.c')
-rw-r--r-- | source/smbd/vfs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/smbd/vfs.c b/source/smbd/vfs.c index 7c348173519..496d3e0432b 100644 --- a/source/smbd/vfs.c +++ b/source/smbd/vfs.c @@ -243,6 +243,15 @@ BOOL vfs_directory_exist(connection_struct *conn, char *dname, } /******************************************************************* + vfs Unlink wrapper that calls dos_to_unix. +********************************************************************/ + +int vfs_unlink(connection_struct *conn, char *fname) +{ + return(conn->vfs_ops.unlink(dos_to_unix(fname,False))); +} + +/******************************************************************* check if a vfs file exists ********************************************************************/ BOOL vfs_file_exist(connection_struct *conn,char *fname,SMB_STRUCT_STAT *sbuf) |