summaryrefslogtreecommitdiff
path: root/yaffs_guts.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2011-03-07 16:25:28 +1300
committerCharles Manning <cdhmanning@gmail.com>2011-03-07 16:25:28 +1300
commitbf4900527f7eab3a629498f2aedbaebf259a6f7a (patch)
treeac49e66c528905013232d1bbc72538a6e27fd54d /yaffs_guts.h
parent9a20a1043042ed312c6d076ba2369d9138354702 (diff)
yaffs: Remove debugging argument from temp buffer handling
No longer track the line number used for allocation. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_guts.h')
-rw-r--r--yaffs_guts.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/yaffs_guts.h b/yaffs_guts.h
index 3b01dfa..551fb7a 100644
--- a/yaffs_guts.h
+++ b/yaffs_guts.h
@@ -487,13 +487,12 @@ struct yaffs_checkpt_obj {
/*--------------------- Temporary buffers ----------------
*
- * These are chunk-sized working buffers. Each device has a few
+ * These are chunk-sized working buffers. Each device has a few.
*/
struct yaffs_buffer {
u8 *buffer;
- int line; /* track from whence this buffer was allocated */
- int max_line;
+ int in_use;
};
/*----------------- Device ---------------------------------*/
@@ -888,8 +887,8 @@ int yaffs_check_ff(u8 *buffer, int n_bytes);
void yaffs_handle_chunk_error(struct yaffs_dev *dev,
struct yaffs_block_info *bi);
-u8 *yaffs_get_temp_buffer(struct yaffs_dev *dev, int line_no);
-void yaffs_release_temp_buffer(struct yaffs_dev *dev, u8 *buffer, int line_no);
+u8 *yaffs_get_temp_buffer(struct yaffs_dev *dev);
+void yaffs_release_temp_buffer(struct yaffs_dev *dev, u8 *buffer);
struct yaffs_obj *yaffs_find_or_create_by_number(struct yaffs_dev *dev,
int number,