[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: |
Tue, 14 Jul 2015 14:28:57 +0200 |
---
libdiskfs/remount.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libdiskfs/remount.c b/libdiskfs/remount.c
index 1ed622f..dffb996 100644
--- a/libdiskfs/remount.c
+++ b/libdiskfs/remount.c
@@ -37,10 +37,18 @@ diskfs_remount ()
if (err)
return err;
+ /* XXX */
+ extern struct port_bucket *file_pager_bucket;
+ err = ports_inhibit_bucket_rpcs (file_pager_bucket);
+ if (err)
+ goto out;
+
err = diskfs_reload_global_state ();
if (!err)
err = diskfs_node_iterate (diskfs_node_reload);
+ ports_resume_bucket_rpcs (file_pager_bucket);
+ 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, 2015/07/11
- 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 <=
- 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
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/19
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, Richard Braun, 2015/07/19
- Re: VirtualBox Hangs Pre-Init Due To Ext2FS Fault, James Clarke, 2015/07/20
- [PATCH] WIP: Fix ext2fs remount race condition, James Clarke, 2015/07/21
- Re: [PATCH] WIP: Fix ext2fs remount race condition, Justus Winter, 2015/07/22