/* RETURN: >0 - OK, size of opened file <0 - ERROR -grub_error_t errnum  */
int reiserfs_open(char *filename)
/* RETURN: >0 - OK, size of opened file <0 - ERROR -grub_error_t errnum  */
int reiserfs_open(char *filename)
{
	errnum = 0;
	print_possibilities = 0;
	if (!reiserfs_dir (filename) || errnum) {
		return -errnum;
	}
	return filemax;
}