projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs : Change the way yaffs direct handles permissions for open etc.
[yaffs2.git]
/
direct
/
fsx_test
/
yaffs_fsx.c
diff --git
a/direct/fsx_test/yaffs_fsx.c
b/direct/fsx_test/yaffs_fsx.c
index 31b0751045ca32ff63ca1c6cfa151a50a97b3778..d3d3149b05206b0ea02b42e55581960a80c51ece 100644
(file)
--- a/
direct/fsx_test/yaffs_fsx.c
+++ b/
direct/fsx_test/yaffs_fsx.c
@@
-774,7
+774,10
@@
getnum(char *s, char **e)
}
}
-#define BASE_NAME "/flash/yaffs1"
+#define BASE_NAME "/M18-1"
+
+int random_seed = 999;
+int simulate_power_failure = 0;
int
main(int argc, char **argv)
int
main(int argc, char **argv)
@@
-916,7
+919,7
@@
main(int argc, char **argv)
argc -= optind;
argv += optind;
argc -= optind;
argv += optind;
- yaffs_
StartU
p();
+ yaffs_
start_u
p();
yaffs_mount(BASE_NAME);
fname = BASE_NAME "/fsxdata";
yaffs_mount(BASE_NAME);
fname = BASE_NAME "/fsxdata";