summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools/btrfs-tools
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2021-07-19 16:59:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-20 08:51:06 +0100
commit74cf2d75702611ba6fbb2728b6db3a67064397b5 (patch)
tree6f8c85adf6ac57b3fc5161083ccb2b365c12dc53 /meta/recipes-devtools/btrfs-tools/btrfs-tools
parent81f068c8ba1bb86908a163f4ad3fd0bbeb962d6e (diff)
downloadpoky-74cf2d75702611ba6fbb2728b6db3a67064397b5.tar.gz
btrfs-tools: upgrade 5.12.1 -> 5.13
Add patch to fix bug for undeclared macro on musl. btrfs-progs-5.13 (2021-07-13) * restore: remove loop checks for extent count and directory scan * inspect dump-tree: new options to print node (--csum-headers) and data checksums (--csum-items) * fi usage: * print stripe count for striped profiles * print zoned information: size, total unusable * mkfs: print note about sha256 accelerated module loading issue * check: ability to reset dev_item::bytes_used * fixes * detect zoned kernel support at run time too * exclusive op running check return value * fi resize: support cancel (kernel 5.14) * device remove: support cancel (kernel 5.14) * documentation about general topics * compression * zoned mode * storage model * hardware considerations * other * libbtrfsutil API overview * help text fixes and updates * hash speedtest measure time, cycles using perf and print throughput (From OE-Core rev: fd8989db25c674ca65389a2d41bf5b447e8794be) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools')
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-fix-error-for-undeclared-macro-on-musl.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-fix-error-for-undeclared-macro-on-musl.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-fix-error-for-undeclared-macro-on-musl.patch
new file mode 100644
index 0000000000..251f5d2b0e
--- /dev/null
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-fix-error-for-undeclared-macro-on-musl.patch
@@ -0,0 +1,28 @@
1From a9802902d37b83c2c992cfe34179312f7209a962 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Mon, 19 Jul 2021 10:12:12 +0900
4Subject: [PATCH] fix error for undeclared macro on musl
5
6Fixes the following compilation errors with musl that does not have
7NAME_MAX declared:
8'NAME_MAX' undeclared (first use in this function)
9
10Upstream-Status: Pending
11
12Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
13---
14 cmds/filesystem-usage.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/cmds/filesystem-usage.c b/cmds/filesystem-usage.c
18index 50d8995e..856e9d7b 100644
19--- a/cmds/filesystem-usage.c
20+++ b/cmds/filesystem-usage.c
21@@ -24,6 +24,7 @@
22 #include <stdarg.h>
23 #include <getopt.h>
24 #include <fcntl.h>
25+#include <limits.h>
26
27 #include "common/utils.h"
28 #include "kerncompat.h"