]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
New upstream version
authorLuk Claes <luk@debian.org>
Fri, 25 May 2012 17:21:00 +0000 (19:21 +0200)
committerLuk Claes <luk@debian.org>
Fri, 25 May 2012 17:21:00 +0000 (19:21 +0200)
* New upstream version
  - Remove 18-dont-use-PAGE_SIZE.patch: merged upstream.

debian/changelog
debian/patches/18-dont-use-PAGE_SIZE.patch [deleted file]

index d69c7a1989d4e0acc58a39020742e9fa9773d390..8c674bf4df9d295acef87661feb6358b00a72328 100644 (file)
@@ -1,3 +1,10 @@
+nfs-utils (1:1.2.6-1) UNRELEASED; urgency=low
+
+  * New upstream version
+    - Remove 18-dont-use-PAGE_SIZE.patch: merged upstream.
+
+ -- Luk Claes <luk@debian.org>  Fri, 25 May 2012 19:16:54 +0200
+
 nfs-utils (1:1.2.5-4) unstable; urgency=low
 
   * Add libmount-dev to Build-Depends and explicitly enable it.
diff --git a/debian/patches/18-dont-use-PAGE_SIZE.patch b/debian/patches/18-dont-use-PAGE_SIZE.patch
deleted file mode 100644 (file)
index a2113e6..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-PAGE_SIZE is not exported by all architectures as it is not fixed: it can depend on the model of the machine. So it's better to query the system configuration for the actual page size on the machine.
-
----
- utils/blkmapd/device-process.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/utils/blkmapd/device-process.c b/utils/blkmapd/device-process.c
-index 27ff374..652a7a8 100644
---- a/utils/blkmapd/device-process.c
-+++ b/utils/blkmapd/device-process.c
-@@ -296,7 +296,7 @@ decode_blk_volume(uint32_t **pp, uint32_t *end, struct bl_volume *vols, int voln
-               off_t stripe_unit = vol->param.bv_stripe_unit;
-               /* Check limitations imposed by device-mapper */
-               if ((stripe_unit & (stripe_unit - 1)) != 0
--                  || stripe_unit < (off_t) (PAGE_SIZE >> 9))
-+                  || stripe_unit < (off_t) (sysconf(_SC_PAGE_SIZE) >> 9))
-                       return -EIO;
-               BLK_READBUF(p, end, 4);
-               READ32(vol->bv_vol_n);
-