projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix resizing of large files.
[yaffs2.git]
/
direct
/
yaffs_nandif.c
diff --git
a/direct/yaffs_nandif.c
b/direct/yaffs_nandif.c
index e103757f12fe36316ca477dbc237d065a859e56c..b93b55ac98f1788b60b4781272de3d034a318ac0 100644
(file)
--- a/
direct/yaffs_nandif.c
+++ b/
direct/yaffs_nandif.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-92,7
+92,7
@@
int ynandif_ReadChunkWithTagsFromNAND(struct yaffs_dev * dev, int nand_chunk,
if(!data) {
localData = 1;
if(!data) {
localData = 1;
- data = yaffs_get_temp_buffer(dev
,__LINE__
);
+ data = yaffs_get_temp_buffer(dev);
}
spare = NULL;
spareSize = 0;
}
spare = NULL;
spareSize = 0;
@@
-133,7
+133,7
@@
int ynandif_ReadChunkWithTagsFromNAND(struct yaffs_dev * dev, int nand_chunk,
}
if(localData)
}
if(localData)
- yaffs_release_temp_buffer(dev,
data,__LINE__
);
+ yaffs_release_temp_buffer(dev,
data
);
return retval;
}
return retval;
}
@@
-184,7
+184,7
@@
int ynandif_QueryNANDBlock(struct yaffs_dev *dev, int blockId,
}
else
{
}
else
{
- *state = YAFFS_BLOCK_STATE_NEEDS_SCAN
NING
;
+ *state = YAFFS_BLOCK_STATE_NEEDS_SCAN;
*seq_number = tags.seq_number;
}
}
*seq_number = tags.seq_number;
}
}