Clear ll_init flag during de-initialisation
authorCharles Manning <cdhmanning@gmail.com>
Wed, 7 Jul 2021 01:14:24 +0000 (13:14 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 7 Jul 2021 01:14:24 +0000 (13:14 +1200)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_guts.c

index 3e33916..c05aee0 100644 (file)
@@ -4827,6 +4827,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);