goto err_out;
}
- status = unlink_internals(conn, NULL, 0, smb_fname, false);
+ status = unlink_internals(conn, NULL, 0, smb_fname);
err_out:
talloc_free(tmp_ctx);
return status;
NTSTATUS unlink_internals(connection_struct *conn,
struct smb_request *req,
uint32_t dirtype,
- struct smb_filename *smb_fname,
- bool has_wcard);
+ struct smb_filename *smb_fname);
void reply_unlink(struct smb_request *req);
ssize_t fake_sendfile(struct smbXsrv_connection *xconn, files_struct *fsp,
off_t startpos, size_t nread);
NTSTATUS unlink_internals(connection_struct *conn,
struct smb_request *req,
uint32_t dirtype,
- struct smb_filename *smb_fname,
- bool has_wild)
+ struct smb_filename *smb_fname)
{
char *fname_dir = NULL;
char *fname_mask = NULL;
DEBUG(3,("reply_unlink : %s\n", smb_fname_str_dbg(smb_fname)));
- status = unlink_internals(conn, req, dirtype, smb_fname, false);
+ status = unlink_internals(conn, req, dirtype, smb_fname);
if (!NT_STATUS_IS_OK(status)) {
if (open_was_deferred(req->xconn, req->mid)) {
/* We have re-scheduled this call. */