From: Rosen Penev Date: Sun, 9 Dec 2018 17:16:12 +0000 (-0800) Subject: btrfs-progs: Update to 4.19.1 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=17eda29ea677e9ffcdd1f17432d488ce13eeb21f;p=feed%2Fpackages.git btrfs-progs: Update to 4.19.1 Removed upstreamed patch. Signed-off-by: Rosen Penev --- diff --git a/utils/btrfs-progs/Makefile b/utils/btrfs-progs/Makefile index 98fcb92aeb..533540b87c 100644 --- a/utils/btrfs-progs/Makefile +++ b/utils/btrfs-progs/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=btrfs-progs -PKG_VERSION:=4.19 +PKG_VERSION:=4.19.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs -PKG_HASH:=d591fbe586cf83741fcf9df51859f8e9058ef5187c002b50d6fe84309e5ea349 +PKG_HASH:=04d82af5cf479d139299a8f13ec0921f9578ca444e81ec0202f01a20d2bcefb8 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION) PKG_MAINTAINER:=Rosen Penev diff --git a/utils/btrfs-progs/patches/010-fix-big-endian.patch b/utils/btrfs-progs/patches/010-fix-big-endian.patch deleted file mode 100644 index e902eec6a5..0000000000 --- a/utils/btrfs-progs/patches/010-fix-big-endian.patch +++ /dev/null @@ -1,106 +0,0 @@ -diff --git a/btrfs.c b/btrfs.c -index 2d39f2c..78c468d 100644 ---- a/btrfs.c -+++ b/btrfs.c -@@ -210,7 +210,7 @@ static int handle_global_options(int argc, char **argv) - return shift; - } - --void handle_special_globals(int shift, int argc, char **argv) -+static void handle_special_globals(int shift, int argc, char **argv) - { - int has_help = 0; - int has_full = 0; -diff --git a/extent-tree.c b/extent-tree.c -index cd98633..8c9cdef 100644 ---- a/extent-tree.c -+++ b/extent-tree.c -@@ -3749,7 +3749,7 @@ static void __get_extent_size(struct btrfs_root *root, struct btrfs_path *path, - * Return >0 for not found. - * Return <0 for err - */ --int btrfs_search_overlap_extent(struct btrfs_root *root, -+static int btrfs_search_overlap_extent(struct btrfs_root *root, - struct btrfs_path *path, u64 bytenr, u64 len) - { - struct btrfs_key key; -diff --git a/free-space-tree.c b/free-space-tree.c -index 6641cdf..65d101f 100644 ---- a/free-space-tree.c -+++ b/free-space-tree.c -@@ -780,7 +780,7 @@ out: - return ret; - } - --int __remove_from_free_space_tree(struct btrfs_trans_handle *trans, -+static int __remove_from_free_space_tree(struct btrfs_trans_handle *trans, - struct btrfs_block_group_cache *block_group, - struct btrfs_path *path, u64 start, u64 size) - { -@@ -1420,7 +1420,7 @@ out: - return ret; - } - --struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans, -+static struct btrfs_root *btrfs_create_tree(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, - u64 objectid) - { -diff --git a/kernel-lib/bitops.h b/kernel-lib/bitops.h -index b1fd6f5..4aadf91 100644 ---- a/kernel-lib/bitops.h -+++ b/kernel-lib/bitops.h -@@ -178,9 +178,9 @@ static inline unsigned long find_next_zero_bit(const unsigned long *addr, - static inline unsigned long ext2_swab(const unsigned long y) - { - #if BITS_PER_LONG == 64 -- return (unsigned long) bswap64((u64) y); -+ return (unsigned long) bswap_64((u64) y); - #elif BITS_PER_LONG == 32 -- return (unsigned long) bswap32((u32) y); -+ return (unsigned long) bswap_32((u32) y); - #else - #error BITS_PER_LONG not defined - #endif -@@ -218,14 +218,14 @@ static inline unsigned long _find_next_bit_le(const unsigned long *addr1, - return min(start + __ffs(ext2_swab(tmp)), nbits); - } - --unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, -+static unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, - unsigned long offset) - { - return _find_next_bit_le(addr, NULL, size, offset, ~0UL); - } - - --unsigned long find_next_bit_le(const void *addr, unsigned long size, -+static unsigned long find_next_bit_le(const void *addr, unsigned long size, - unsigned long offset) - { - return _find_next_bit_le(addr, NULL, size, offset, 0UL); -diff --git a/kernel-lib/rbtree.h b/kernel-lib/rbtree.h -index 47b662a..ebb4145 100644 ---- a/kernel-lib/rbtree.h -+++ b/kernel-lib/rbtree.h -@@ -52,7 +52,7 @@ struct rb_root { - - #define rb_parent(r) ((struct rb_node *)((r)->__rb_parent_color & ~3)) - --#define RB_ROOT (struct rb_root) { NULL, } -+#define RB_ROOT (struct rb_root) {} - #define rb_entry(ptr, type, member) container_of(ptr, type, member) - - #define RB_EMPTY_ROOT(root) ((root)->rb_node == NULL) -diff --git a/utils.h b/utils.h -index b6c00cf..7c5eb79 100644 ---- a/utils.h -+++ b/utils.h -@@ -29,6 +29,7 @@ - #include "sizes.h" - #include "messages.h" - #include "ioctl.h" -+#include "fsfeatures.h" - - #define BTRFS_SCAN_MOUNTED (1ULL << 0) - #define BTRFS_SCAN_LBLKID (1ULL << 1)