bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]