]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.1.1-11 debian/1%1.1.1-11
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 17 Dec 2007 23:06:10 +0000 (00:06 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 01:59:37 +0000 (02:59 +0100)
debian/changelog
debian/patches/05-ignore-quota-option.patch
debian/patches/10-no-flush-blkid-cache.diff [new file with mode: 0644]
debian/patches/series

index cfc86844c36a3667d58c9eb915b9c60a610b55a4..c36025b523328d7a213607611de579fd747438a7 100644 (file)
@@ -1,3 +1,13 @@
+nfs-utils (1:1.1.1-11) unstable; urgency=low
+
+  * 10-no-flush-blkid-cache.diff: New patch from Theodore Ts'o, removes
+    unneccessary flushing of the blkid cache, leading to lots of spurious
+    DM_* ioctls. (Closes: #431940)
+  * Sorted the list of patches in debian/patches/, and refreshed all patches
+    to fix hunk offsets.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Tue, 18 Dec 2007 00:06:10 +0100
+
 nfs-utils (1:1.1.1-10) unstable; urgency=low
 
   * 09-fix-nfsstat-option.patch: New patch, fixes so nfsstat help and man
index 29859389b93f95ffbb0ad0151b5c97f86ba7b8da..22c53efc804b902638e7a0a7c21f90b65cd2370e 100644 (file)
@@ -5,11 +5,11 @@ them properly, matching the man page. There are a few aliases (like
 usrjquota) that are parsed by quota, but as these are not documented
 nor seem to be widely used, they are not included.
 
-Index: nfs-utils-1.1.0/utils/mount/mount.c
+Index: nfs-utils-1.1.1/utils/mount/mount.c
 ===================================================================
---- nfs-utils-1.1.0.orig/utils/mount/mount.c
-+++ nfs-utils-1.1.0/utils/mount/mount.c
-@@ -132,6 +132,10 @@ static const struct opt_map opt_map[] = 
+--- nfs-utils-1.1.1.orig/utils/mount/mount.c
++++ nfs-utils-1.1.1/utils/mount/mount.c
+@@ -130,6 +130,10 @@ static const struct opt_map opt_map[] = 
    { "diratime", 0, 1, MS_NODIRATIME },  /* Update dir access times */
    { "nodiratime", 0, 0, MS_NODIRATIME },/* Do not update dir access times */
  #endif
diff --git a/debian/patches/10-no-flush-blkid-cache.diff b/debian/patches/10-no-flush-blkid-cache.diff
new file mode 100644 (file)
index 0000000..7f7a7e8
--- /dev/null
@@ -0,0 +1,13 @@
+Index: nfs-utils-1.1.1/utils/mountd/cache.c
+===================================================================
+--- nfs-utils-1.1.1.orig/utils/mountd/cache.c
++++ nfs-utils-1.1.1/utils/mountd/cache.c
+@@ -181,8 +181,6 @@ int get_uuid(char *path, char *uuid, int
+               if (cache == NULL)
+                       blkid_get_cache(&cache, NULL);
+-              blkid_probe_all_new(cache);
+-
+               if (stat(path, &stb) != 0)
+                       return 0;
+               devname = blkid_devno_to_devname(stb.st_dev);
index e4310fddd99b67407336d4e6715ad5f180e83ea0..e98b01fa6e9796158edd731f4af0aa161012022b 100644 (file)
@@ -1,7 +1,8 @@
-09-fix-nfsstat-option.patch
-08-clarify-unexport.patch
 02-document-debian-init-scripts.patch
 03-sm-notify-in-sbin.patch
 05-ignore-quota-option.patch
 06-gssd-manpage-typo.patch
 07-amd64-logging-segfault.patch
+08-clarify-unexport.patch
+09-fix-nfsstat-option.patch
+10-no-flush-blkid-cache.diff