diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/fix-remount0001-yyy-fix-remount.patch | 41 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/fix-remount0001-yyy-fix-remount.patch b/debian/patches/fix-remount0001-yyy-fix-remount.patch new file mode 100644 index 00000000..5daaad4f --- /dev/null +++ b/debian/patches/fix-remount0001-yyy-fix-remount.patch @@ -0,0 +1,41 @@ +From dc82702dc9e1f15045863fdbc562778c530c477c Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Sun, 12 Jul 2015 01:24:48 +0200 +Subject: [PATCH hurd] yyy fix remount + +--- + 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 + diff --git a/debian/patches/series b/debian/patches/series index 47d3aea4..95122f1e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -68,3 +68,4 @@ introspection0005-libdiskfs-annotate-objects-managed-by-libports.patch introspection0006-libpager-annotate-objects-managed-by-libports.patch introspection0007-ext2fs-annotate-objects-managed-by-libports.patch introspection0008-utils-rpctrace-support-attaching-to-servers.patch +fix-remount0001-yyy-fix-remount.patch |