commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20110519


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20110519-3-3-gcd46d8f
Date: Tue, 09 Aug 2011 23:59:19 +0000

The following commit has been merged in the master branch:
commit cd46d8f52be9bc1b9d9c0cc5be2843ee5d89aabb
Author: Samuel Thibault <address@hidden>
Date:   Wed Aug 10 01:59:02 2011 +0200

    Fix sync at shutdown
    
      * patches/libdiskfs_sync.patch: New patch to fix sync at shutdown.

diff --git a/debian/changelog b/debian/changelog
index d5b3f0a..515f0af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 hurd (20110519-4) UNRELEASED; urgency=low
 
   * local/setup-translators: Restore /dev/shm creation.
+  * patches/libdiskfs_sync.patch: New patch to fix sync at shutdown.
 
  -- Samuel Thibault <address@hidden>  Mon, 01 Aug 2011 22:53:23 +0200
 
diff --git a/debian/patches/libdiskfs_sync.patch 
b/debian/patches/libdiskfs_sync.patch
new file mode 100644
index 0000000..19e4517
--- /dev/null
+++ b/debian/patches/libdiskfs_sync.patch
@@ -0,0 +1,16 @@
+Set diskfs stores as readonly on shutdown before enabling RPCs again.
+
+diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c
+index bf1acf2..700a26e 100644
+--- a/libdiskfs/init-startup.c
++++ b/libdiskfs/init-startup.c
+@@ -148,6 +148,9 @@ diskfs_S_startup_dosync (mach_port_t handle)
+         diskfs_set_hypermetadata (1, 1);
+         _diskfs_diskdirty = 0;
+ 
++        diskfs_readonly = 1;
++        diskfs_readonly_changed (1);
++
+         ports_resume_class_rpcs (diskfs_protid_class);
+       }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8b2c46c..9a7e4bc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -30,3 +30,4 @@ ext2fs_nowait.patch
 auth-intr-cure.patch
 libpager_deadlock.patch
 libdiskfs_self-reauth.patch
+libdiskfs_sync.patch

-- 
Debian GNU Hurd packaging



reply via email to

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