/* register a server & start smbiod if necessary  */
int smbiod_register_server(struct smb_sb_info *server)
/* register a server & start smbiod if necessary  */
int smbiod_register_server(struct smb_sb_info *server)
{
	int ret;
	spin_lock(&servers_lock);
	list_add(&server->entry, &smb_servers);
	VERBOSE("%p\n", server);
	ret = smbiod_start();
	spin_unlock(&servers_lock);
	return ret;
}