s3: Plumb smb_filename through SMB_VFS_UNLINK
[samba.git] / examples / VFS / skel_opaque.c
index 5d05be9aabb0b2ffee21bf9a774ac5e19038bae6..54f7ce8cf2abae7600a34fa645a9ef099997b96d 100644 (file)
@@ -196,9 +196,10 @@ static int skel_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname)
        return vfswrap_lstat(NULL, smb_fname);
 }
 
-static int skel_unlink(vfs_handle_struct *handle,  const char *path)
+static int skel_unlink(vfs_handle_struct *handle,
+                      const struct smb_filename *smb_fname)
 {
-       return vfswrap_unlink(NULL,  path);
+       return vfswrap_unlink(NULL, smb_fname);
 }
 
 static int skel_chmod(vfs_handle_struct *handle,  const char *path, mode_t mode)