From 38fc56c8434c427335cf264c4b27420c5ad47566 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 30 Aug 2000 18:33:56 +0000 Subject: Added vfs_unlink call to ensure vfs is used on unlink from client. Jeremy. --- source/smbd/vfs.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/smbd/vfs.c') 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 @@ -242,6 +242,15 @@ BOOL vfs_directory_exist(connection_struct *conn, char *dname, return ret; } +/******************************************************************* + 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 ********************************************************************/ -- cgit