projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: More mainlining cleanup
[yaffs2.git]
/
yaffs_yaffs2.c
diff --git
a/yaffs_yaffs2.c
b/yaffs_yaffs2.c
index 32840e76566803c2b50cd2d955252597d8624edd..f4a7a7f2066c7cc1b7c82593de9eb296c53200e8 100644
(file)
--- a/
yaffs_yaffs2.c
+++ b/
yaffs_yaffs2.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>
@@
-573,7
+573,7
@@
static int yaffs2_wr_checkpt_objs(struct yaffs_dev *dev)
}
/* Dump end of list */
}
/* Dump end of list */
- memset(&cp, 0x
FF
, sizeof(struct yaffs_checkpt_obj));
+ memset(&cp, 0x
ff
, sizeof(struct yaffs_checkpt_obj));
cp.struct_type = sizeof(cp);
if (ok)
cp.struct_type = sizeof(cp);
if (ok)
@@
-868,7
+868,7
@@
int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size)
small_hole = 0;
if (small_hole)
small_hole = 0;
if (small_hole)
- local_buffer = yaffs_get_temp_buffer(dev
, __LINE__
);
+ local_buffer = yaffs_get_temp_buffer(dev);
if (local_buffer) {
/* fill hole with zero bytes */
if (local_buffer) {
/* fill hole with zero bytes */
@@
-893,7
+893,7
@@
int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size)
}
}
}
}
- yaffs_release_temp_buffer(dev, local_buffer
, __LINE__
);
+ yaffs_release_temp_buffer(dev, local_buffer);
/* If out of space then reverse any chunks we've added */
if (!small_increase_ok)
/* If out of space then reverse any chunks we've added */
if (!small_increase_ok)
@@
-1371,7
+1371,7
@@
int yaffs2_scan_backwards(struct yaffs_dev *dev)
dev->blocks_in_checkpt = 0;
dev->blocks_in_checkpt = 0;
- chunk_data = yaffs_get_temp_buffer(dev
, __LINE__
);
+ chunk_data = yaffs_get_temp_buffer(dev);
/* Scan all the blocks to determine their state */
bi = dev->block_info;
/* Scan all the blocks to determine their state */
bi = dev->block_info;
@@
-1498,7
+1498,7
@@
int yaffs2_scan_backwards(struct yaffs_dev *dev)
*/
yaffs_link_fixup(dev, &hard_list);
*/
yaffs_link_fixup(dev, &hard_list);
- yaffs_release_temp_buffer(dev, chunk_data
, __LINE__
);
+ yaffs_release_temp_buffer(dev, chunk_data);
if (alloc_failed)
return YAFFS_FAIL;
if (alloc_failed)
return YAFFS_FAIL;