X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_guts.c;fp=yaffs_guts.c;h=4621dfa2117b33fc78abb105c389246074551b9c;hb=794059997ab24f0ca4cab7587325da4bd9ddb108;hp=a2b4cdf696114a2d89ab639c1ab0f35ee126221b;hpb=171c906dfe23249c1b12775fd22560d164f4c8b8;p=yaffs2.git diff --git a/yaffs_guts.c b/yaffs_guts.c index a2b4cdf..4621dfa 100644 --- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -163,6 +163,8 @@ u8 *yaffs_get_temp_buffer(struct yaffs_dev * dev) } +/* Frees all the temp_buffer objects in the yaffs_dev instance +*/ void yaffs_release_temp_buffer(struct yaffs_dev *dev, u8 *buffer) { int i; @@ -4826,6 +4828,7 @@ void yaffs_deinitialise(struct yaffs_dev *dev) kfree(dev->checkpt_block_list); dev->checkpt_block_list = NULL; + dev->ll_init = 0; dev->is_mounted = 0; yaffs_deinit_nand(dev);