diff options
-rw-r--r-- | kernels/linux-libre-grsec-knock/PKGBUILD | 8 | ||||
-rw-r--r-- | kernels/linux-libre-grsec-knock/btrfs-overflow.patch | 26 | ||||
-rw-r--r-- | libre/linux-libre-grsec/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/linux-libre-grsec/btrfs-overflow.patch | 26 |
4 files changed, 4 insertions, 64 deletions
diff --git a/kernels/linux-libre-grsec-knock/PKGBUILD b/kernels/linux-libre-grsec-knock/PKGBUILD index 7b423c221..4d9fc6da2 100644 --- a/kernels/linux-libre-grsec-knock/PKGBUILD +++ b/kernels/linux-libre-grsec-knock/PKGBUILD @@ -12,7 +12,7 @@ pkgbase=linux-libre-grsec-knock _pkgbasever=4.3-gnu _pkgver=4.3.3-gnu _grsecver=3.1 -_timestamp=201512162141 +_timestamp=201512282134 _knockpatchver=4.2_2 _replacesarchkernel=('linux%') # '%' gets replaced with _kernelname @@ -53,7 +53,6 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li # standard config files for mkinitcpio ramdisk 'linux.preset' 'change-default-console-loglevel.patch' - 'btrfs-overflow.patch' '0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch' '0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch' # armv7h patches @@ -71,7 +70,7 @@ sha256sums=('1d280ae2730eb6c9b8c7e920cac2e8111c8db02c498db0c142860a84106cc169' 'SKIP' '4e5d062db675a304a1b7bb99a9d2eb1ff617fd31fac9b28df059444b5a98b1d5' 'SKIP' - '13d78800d39cd1a38669d68a8b3861417d8caf8344781253cf3e5de749cdae76' + 'ead097ba47033acf76f8d894f2af1d1445276507df9e259efaefbf20fff253f5' 'SKIP' 'c7c4ab580f00dca4114c185812a963e73217e6bf86406c240d669026dc3f98a4' 'SKIP' @@ -86,7 +85,6 @@ sha256sums=('1d280ae2730eb6c9b8c7e920cac2e8111c8db02c498db0c142860a84106cc169' 'd4377df75b4e0832273d38df17b993a4ed6d8aa2ab09c9ab74020287bdbab42c' 'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' - '82efb1d533b579e8ea6103456e76ace1f749c9f055b0eaf95b980dc9ae544e5f' '61370b766e0c60b407c29d2c44b3f55fc352e9049c448bc8fcddb0efc53e42fc' '3d3266bd082321dccf429cc2200d1a4d870d2031546f9f591b6dfbb698294808' '7f58bf48fd6b0c93b448ced408ef5b6cb41da392f58378475f8d5f5c09f2a98f' @@ -158,8 +156,6 @@ prepare() { # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) patch -p1 -i "${srcdir}/change-default-console-loglevel.patch" - patch -p1 -i "$srcdir/btrfs-overflow.patch" - # make the radeon driver load without the firmwares # http://www.fsfla.org/pipermail/linux-libre/2015-August/003098.html if [ "${CARCH}" = "x86_64" ] || [ "${CARCH}" = "i686" ]; then ## This patch is only needed for x86 computers, so we disable it for others diff --git a/kernels/linux-libre-grsec-knock/btrfs-overflow.patch b/kernels/linux-libre-grsec-knock/btrfs-overflow.patch deleted file mode 100644 index f879b184b..000000000 --- a/kernels/linux-libre-grsec-knock/btrfs-overflow.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c -index 6a98bdd..fed3da6 100644 ---- a/fs/btrfs/extent_map.c -+++ b/fs/btrfs/extent_map.c -@@ -235,7 +235,9 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) - em->start = merge->start; - em->orig_start = merge->orig_start; - em->len += merge->len; -- em->block_len += merge->block_len; -+ if (em->block_start != EXTENT_MAP_HOLE && -+ em->block_start != EXTENT_MAP_INLINE) -+ em->block_len += merge->block_len; - em->block_start = merge->block_start; - em->mod_len = (em->mod_len + em->mod_start) - merge->mod_start; - em->mod_start = merge->mod_start; -@@ -252,7 +254,9 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) - merge = rb_entry(rb, struct extent_map, rb_node); - if (rb && mergable_maps(em, merge)) { - em->len += merge->len; -- em->block_len += merge->block_len; -+ if (em->block_start != EXTENT_MAP_HOLE && -+ em->block_start != EXTENT_MAP_INLINE) -+ em->block_len += merge->block_len; - rb_erase(&merge->rb_node, &tree->map); - RB_CLEAR_NODE(&merge->rb_node); - em->mod_len = (merge->mod_start + merge->mod_len) - em->mod_start; diff --git a/libre/linux-libre-grsec/PKGBUILD b/libre/linux-libre-grsec/PKGBUILD index 5a31cdece..afc3c8eb1 100644 --- a/libre/linux-libre-grsec/PKGBUILD +++ b/libre/linux-libre-grsec/PKGBUILD @@ -12,7 +12,7 @@ pkgbase=linux-libre-grsec _pkgbasever=4.3-gnu _pkgver=4.3.3-gnu _grsecver=3.1 -_timestamp=201512162141 +_timestamp=201512282134 _replacesarchkernel=('linux%') # '%' gets replaced with _kernelname _replacesoldkernels=() # '%' gets replaced with _kernelname @@ -48,7 +48,6 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li # standard config files for mkinitcpio ramdisk 'linux.preset' 'change-default-console-loglevel.patch' - 'btrfs-overflow.patch' '0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch' '0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch' # armv7h patches @@ -66,7 +65,7 @@ sha256sums=('1d280ae2730eb6c9b8c7e920cac2e8111c8db02c498db0c142860a84106cc169' 'SKIP' '4e5d062db675a304a1b7bb99a9d2eb1ff617fd31fac9b28df059444b5a98b1d5' 'SKIP' - '13d78800d39cd1a38669d68a8b3861417d8caf8344781253cf3e5de749cdae76' + 'ead097ba47033acf76f8d894f2af1d1445276507df9e259efaefbf20fff253f5' 'SKIP' 'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494' 'SKIP' @@ -79,7 +78,6 @@ sha256sums=('1d280ae2730eb6c9b8c7e920cac2e8111c8db02c498db0c142860a84106cc169' '0e1ccaf0db006291273d3095bbd190eefe9807520e44645b3d76c79fa3644050' 'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' - '82efb1d533b579e8ea6103456e76ace1f749c9f055b0eaf95b980dc9ae544e5f' '61370b766e0c60b407c29d2c44b3f55fc352e9049c448bc8fcddb0efc53e42fc' '3d3266bd082321dccf429cc2200d1a4d870d2031546f9f591b6dfbb698294808' '7f58bf48fd6b0c93b448ced408ef5b6cb41da392f58378475f8d5f5c09f2a98f' @@ -147,8 +145,6 @@ prepare() { # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) patch -p1 -i "${srcdir}/change-default-console-loglevel.patch" - patch -p1 -i "$srcdir/btrfs-overflow.patch" - # make the radeon driver load without the firmwares # http://www.fsfla.org/pipermail/linux-libre/2015-August/003098.html if [ "${CARCH}" = "x86_64" ] || [ "${CARCH}" = "i686" ]; then ## This patch is only needed for x86 computers, so we disable it for others diff --git a/libre/linux-libre-grsec/btrfs-overflow.patch b/libre/linux-libre-grsec/btrfs-overflow.patch deleted file mode 100644 index f879b184b..000000000 --- a/libre/linux-libre-grsec/btrfs-overflow.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c -index 6a98bdd..fed3da6 100644 ---- a/fs/btrfs/extent_map.c -+++ b/fs/btrfs/extent_map.c -@@ -235,7 +235,9 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) - em->start = merge->start; - em->orig_start = merge->orig_start; - em->len += merge->len; -- em->block_len += merge->block_len; -+ if (em->block_start != EXTENT_MAP_HOLE && -+ em->block_start != EXTENT_MAP_INLINE) -+ em->block_len += merge->block_len; - em->block_start = merge->block_start; - em->mod_len = (em->mod_len + em->mod_start) - merge->mod_start; - em->mod_start = merge->mod_start; -@@ -252,7 +254,9 @@ static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) - merge = rb_entry(rb, struct extent_map, rb_node); - if (rb && mergable_maps(em, merge)) { - em->len += merge->len; -- em->block_len += merge->block_len; -+ if (em->block_start != EXTENT_MAP_HOLE && -+ em->block_start != EXTENT_MAP_INLINE) -+ em->block_len += merge->block_len; - rb_erase(&merge->rb_node, &tree->map); - RB_CLEAR_NODE(&merge->rb_node); - em->mod_len = (merge->mod_start + merge->mod_len) - em->mod_start; |