Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 wpwrak authored sbourdeauducq committed
Showing with 0 additions and 2 deletions.
  1. +0 −2  src/yaffs.c
2  src/yaffs.c
View
@@ -195,8 +195,6 @@ static void unmount_handler(struct yaffs_dev *dev, void *os_context)
}
}
- yaffs_flush_whole_cache(dev);
- yaffs_deinitialise(dev);
softc->free_os_context(dev, os_context);
free(softc);
free(dev);
Please sign in to comment.
Something went wrong with that request. Please try again.