projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
5e0db49
)
yaffs direct: Fix opening of a directory.
author
Charles Manning
<cdhmanning@gmail.com>
Mon, 3 Apr 2017 04:49:42 +0000
(16:49 +1200)
committer
Charles Manning
<cdhmanning@gmail.com>
Mon, 3 Apr 2017 04:49:42 +0000
(16:49 +1200)
If opening a directory using yaffs_open(), Yaffs Direct was checking
that the file was being opened with O_RDONLY.
In fact those flags should actually be ignored and it should be treated
as if opened O_RDONLY.
Therefore override flags if opening a directory.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
No differences found