a8a88c43dd75d9f0a48623e5e6cf26ce889067df
[yaffs2.git] / direct / timothy_tests / quick_tests / current_bugs.txt
1
2 Made by Timothy Manning <timothy@yaffs.net> on 08/11/2010
3
4
5 Current BUGS 
6
7
8 Current WARNINGS
9         
10         WARNING- If yaffs is unmounted then most of yaffs' functions return ENODIR. 
11         But some function return EBADF instead.
12         Functions which return ENOTDIR: open, close, access, unlink, lseek, write, read
13
14         Functions which return ENOENT: access, stat
15         
16
17
18         WARNING-the function yaffs_open does not check the mode passed to it. 
19         This means that yaffs open does not return EINVAL if a bad mode is passed to it.
20         However this causes the error EEXIST to happen instead, because both O_CREAT and O_EXCL  flags are set.
21
22         WARNING- yaffs_open will work with either of the two mode set to 255.
23         However there are only 4 or 5 flags that can be set for each of the modes.
24         This means that the programmer may not be setting the flags properly.  
25
26         WARNING- When mounting a non-existing mount point the error ENODEV is returned.
27         The quick tests have been altered to accommodate this error code.    
28         With standard access function in linux the error returned is ENOENT.