/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-2010 Aleph One Ltd.
+ * Copyright (C) 2002-2011 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
int fuzz_test=0;
-int yaffs_test_maxMallocs;
+int yaffs_test_max_mallocs;
extern int ops_multiplier;
n_cycles = atoi(optarg);
break;
case 't':
- yaffs_traceMask = strtol(optarg,NULL,0);
+ yaffs_trace_mask = strtol(optarg,NULL,0);
break;
case 'z':fuzz_test=1;
break;
argv += optind;
if(random_mallocs){
- yaffs_test_maxMallocs = 0xFFF & random_seed;
+ yaffs_test_max_mallocs = 0xFFF & random_seed;
}
if(argc == 1) {
simulate_power_failure ? "power_fail" : "",
random_seed, n_cycles);
- yaffs_StartUp();
+ yaffs_start_up();
result = yaffs_mount(mount_point);
if(result < 0){
printf("Mount of %s failed\n",mount_point);