[Yaffs] Writing -2048 bytes to chunk

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Cal Page
Date:  
To: yaffs@lists.aleph1.co.uk
Subject: [Yaffs] Writing -2048 bytes to chunk
With the latest sources, I turned on checking

    echo +verify-all >/proc/yaffs


then I received the above error.

The error came from yaffs_FlushFilesChunkCache as cache->nBytes is -2048.

The only place this is set is from yaffs_WriteDataToFile with the
calculation for nToWriteBack.

Has anyone seen this error? How do I fix it?

Cal Page