[Yaffs] yaffs1/direct: mount problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jacob Dall
Date:  
To: yaffs
Subject: [Yaffs] yaffs1/direct: mount problems
Hello yaffers,

Using yaffs1/direct

I believe I've found a bug in the unmount code. If one formats a device using the following sequence:

yaffs_unmount()
myEraseAllBlocks()
yaffs_mount()

the mount fails.

The device's isMounted flag is not cleared when unmounting.

Regards,
Jacob Dall