DEBUG(5,("close_file: file %s. Delete on close was set and unlink failed \
with error %s\n", fsp->fsp_name, strerror(errno) ));
}
+ process_pending_change_notify_queue((time_t)0);
}
unlock_share_entry_fsp(fsp);
if(ok)
remove_pending_change_notify_requests_by_filename(fsp);
+ process_pending_change_notify_queue((time_t)0);
}
/*
DEBUG(10,("set_delete_on_close_over_all: %s delete on close flag for fnum = %d, file %s\n",
delete_on_close ? "Adding" : "Removing", fsp->fnum, fsp->fsp_name ));
+ if (fsp->is_directory || fsp->is_stat)
+ return NT_STATUS_OK;
+
if (lock_share_entry_fsp(fsp) == False)
return NT_STATUS_ACCESS_DENIED;