Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

yaffs.c: ycb_fsunmount already cleans up, don't do it again in unmoun…

…t_handler

This caused an attempt to run yaffs_flush_whole_cache with dev->cache
already deallocated, hanging the system.
  • Loading branch information...
commit d94aa141d2d72726bd34ac4072a04f11f4467255 1 parent 767197b
Werner Almesberger authored November 08, 2011 sbourdeauducq committed November 09, 2011

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  src/yaffs.c
2  src/yaffs.c
@@ -195,8 +195,6 @@ static void unmount_handler(struct yaffs_dev *dev, void *os_context)
195 195
 		}
196 196
 	}
197 197
 	
198  
-	yaffs_flush_whole_cache(dev);
199  
-	yaffs_deinitialise(dev);
200 198
 	softc->free_os_context(dev, os_context);
201 199
 	free(softc);
202 200
 	free(dev);

0 notes on commit d94aa14

Please sign in to comment.
Something went wrong with that request. Please try again.