[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH hurd] yyy fix remount
From: |
Justus Winter |
Subject: |
[PATCH hurd] yyy fix remount |
Date: |
Sun, 12 Jul 2015 01:28:35 +0200 |
---
libdiskfs/remount.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/libdiskfs/remount.c b/libdiskfs/remount.c
index 1ed622f..2b5d351 100644
--- a/libdiskfs/remount.c
+++ b/libdiskfs/remount.c
@@ -21,6 +21,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "libpager/priv.h"
/* Re-read all incore data structures from disk. This will only work if
DISKFS_READONLY is true. DISKFS_FSYS_LOCK should be held while calling
@@ -37,10 +38,16 @@ diskfs_remount ()
if (err)
return err;
+ err = ports_inhibit_class_rpcs (_pager_class);
+ if (err)
+ goto out;
+
err = diskfs_reload_global_state ();
if (!err)
err = diskfs_node_iterate (diskfs_node_reload);
+ ports_resume_class_rpcs (_pager_class);
+ out:
ports_resume_class_rpcs (diskfs_protid_class);
return err;
--
2.1.4
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/11
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/11
- [PATCH hurd] yyy fix remount,
Justus Winter <=
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/12
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/12
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Richard Braun, 2015/07/13
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/14
- Fixing re-mounting of ext2fs, Justus Winter, 2015/07/14
- [PATCH hurd] yyy fix remount, Justus Winter, 2015/07/14
- Re: Fixing re-mounting of ext2fs, Justus Winter, 2015/07/14
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/14
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/15
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Justus Winter, 2015/07/19