/* Initialize network stack. It searches for given ID in global configuration table, this contains information of the remote server (address (any supported by socket interface) and port, protocol and so on).  */
int pohmelfs_state_init(struct pohmelfs_sb *psb)
/* Initialize network stack. It searches for given ID in global configuration table, this contains information of the remote server (address (any supported by socket interface) and port, protocol and so on).  */
int pohmelfs_state_init(struct pohmelfs_sb *psb)
{
	int err = -ENOMEM;
	err = pohmelfs_copy_config(psb);
	if (err) {
		pohmelfs_state_exit(psb);
		return err;
	}
	return 0;
}