projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First cut of changes to support large files.
[yaffs2.git]
/
yaffs_mtdif2_multi.c
diff --git
a/yaffs_mtdif2_multi.c
b/yaffs_mtdif2_multi.c
index 6eac0251047246db196947997e21e5e36541219b..684ed2a956dac805ccce39e69d8af7102522a972 100644
(file)
--- a/
yaffs_mtdif2_multi.c
+++ b/
yaffs_mtdif2_multi.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>
@@
-129,7
+129,7
@@
int nandmtd2_read_chunk_tags(struct yaffs_dev *dev, int nand_chunk,
if (!data) {
local_data = 1;
if (!data) {
local_data = 1;
- data = yaffs_get_temp_buffer(dev
, __LINE__
);
+ data = yaffs_get_temp_buffer(dev);
}
}
}
}
@@
-182,7
+182,7
@@
int nandmtd2_read_chunk_tags(struct yaffs_dev *dev, int nand_chunk,
}
if (local_data)
}
if (local_data)
- yaffs_release_temp_buffer(dev, data
, __LINE__
);
+ yaffs_release_temp_buffer(dev, data);
if (tags && retval == -EBADMSG
&& tags->ecc_result == YAFFS_ECC_RESULT_NO_ERROR) {
if (tags && retval == -EBADMSG
&& tags->ecc_result == YAFFS_ECC_RESULT_NO_ERROR) {
@@
-244,7
+244,7
@@
int nandmtd2_query_block(struct yaffs_dev *dev, int block_no,
if (t.chunk_used) {
*seq_number = t.seq_number;
if (t.chunk_used) {
*seq_number = t.seq_number;
- *state = YAFFS_BLOCK_STATE_NEEDS_SCAN
NING
;
+ *state = YAFFS_BLOCK_STATE_NEEDS_SCAN;
} else {
*seq_number = 0;
*state = YAFFS_BLOCK_STATE_EMPTY;
} else {
*seq_number = 0;
*state = YAFFS_BLOCK_STATE_EMPTY;