*/
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.62 2008-11-07 00:32:20 charles Exp $";
+ "$Id: yaffs_guts.c,v 1.64 2008-11-25 00:29:32 charles Exp $";
#include "yportenv.h"
nToWriteBack =
(nBytesRead >
- (start + n)) ? nBytesRead : (start + n);
+ ((int)start + n)) ? nBytesRead : (start + n);
} else {
nToCopy = dev->nDataBytesPerChunk - start;
in->yst_rdev = oh->yst_rdev;
#endif
in->hdrChunk = chunk;
+ in->serial = tags.serialNumber;
} else if (in && !in->valid) {
/* we need to load this info */
in->yst_rdev = oh->yst_rdev;
#endif
in->hdrChunk = chunk;
+ in->serial = tags.serialNumber;
yaffs_SetObjectName(in, oh->name);
in->dirty = 0;