From: Lawrence S. <ljs...@us...> - 2013-04-18 20:17:48
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 5d101ffceb89cd67b6536158974725c556c39216 (commit) from 46bf14554b178047deb7f6b78c086e4405067c0a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5d101ffceb89cd67b6536158974725c556c39216 Author: Lawrence Sebald <ljs...@us...> Date: Thu Apr 18 16:17:20 2013 -0400 Make sure changes get written back to the block device when unmounting a fs in fs_ext2. ----------------------------------------------------------------------- Summary of changes: addons/libkosext2fs/fs_ext2.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/addons/libkosext2fs/fs_ext2.c b/addons/libkosext2fs/fs_ext2.c index d0be238..bdc4f7c 100644 --- a/addons/libkosext2fs/fs_ext2.c +++ b/addons/libkosext2fs/fs_ext2.c @@ -1440,6 +1440,7 @@ int fs_ext2_unmount(const char *mp) { /* XXXX: We should probably do something with open files... */ nmmgr_handler_remove(&i->vfsh->nmmgr); + ext2_fs_shutdown(i->fs); free(i->vfsh); free(i); } @@ -1478,6 +1479,7 @@ int fs_ext2_shutdown(void) { /* XXXX: We should probably do something with open files... */ nmmgr_handler_remove(&i->vfsh->nmmgr); + ext2_fs_shutdown(i->fs); free(i->vfsh); free(i); hooks/post-receive -- A pseudo Operating System for the Dreamcast. |