yaffs Fix the interpretation of O_EXCL
authorCharles Manning <cdhmanning@gmail.com>
Tue, 18 May 2010 23:09:42 +0000 (11:09 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 18 May 2010 23:09:42 +0000 (11:09 +1200)
commitb7c52ec83e9094c255f5a8b6d113fbca09cdcc2f
tree99c61eff978023e994a254b624853853d030a7f2
parent33cf7c1789b0a026965c2ca7b00303857940774a
yaffs Fix the interpretation of O_EXCL

O_EXCL does not mean openinging for exclusive access.

O_EXCL only has meaning with O_CREAT. It means only create file if
it does not exist.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yaffsfs.c