Merge of increment_smbd_process_count() fix from appliance.