diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2020-06-28 15:34:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-28 23:37:38 +0100 |
commit | bd3fcb66fab2d2923c8a13735fa77c895fc26ea0 (patch) | |
tree | ffd05410eb6fbf9afc41c8c55116d6f5825c4097 /meta/recipes-connectivity/nfs-utils/nfs-utils | |
parent | 7a6717278e85482418c79170f9ad190ee0d9daca (diff) | |
download | poky-bd3fcb66fab2d2923c8a13735fa77c895fc26ea0.tar.gz |
nfs-utils: upgrade 2.4.3 -> 2.5.1
* cacheio was fixed upstream slightly different
* nfsdclnts is a python3 script for printing various nfs client information
pack it in ${PN}-stats
* replace leading spaces by tabs in shell tasks
* remove SRC_URI[md5sum]
(From OE-Core rev: 489fe278443e7376a5b51789daff2449f19c87ab)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch deleted file mode 100644 index bafff5b9c0..0000000000 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From ac32b813f5d6f9a2de944015cf9bb98d68e0203a Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 1 Dec 2018 10:02:12 -0800 | ||
4 | Subject: [PATCH] cacheio: use intmax_t for formatted IO | ||
5 | |||
6 | time_t is not same size on x32 ABI (ILP32) | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | support/nfs/cacheio.c | 3 ++- | ||
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c | ||
16 | index 9dc4cf1..2086a95 100644 | ||
17 | --- a/support/nfs/cacheio.c | ||
18 | +++ b/support/nfs/cacheio.c | ||
19 | @@ -17,6 +17,7 @@ | ||
20 | |||
21 | #include <nfslib.h> | ||
22 | #include <stdio.h> | ||
23 | +#include <inttypes.h> | ||
24 | #include <stdio_ext.h> | ||
25 | #include <string.h> | ||
26 | #include <ctype.h> | ||
27 | @@ -234,7 +235,7 @@ cache_flush(int force) | ||
28 | stb.st_mtime > now) | ||
29 | stb.st_mtime = time(0); | ||
30 | |||
31 | - sprintf(stime, "%ld\n", stb.st_mtime); | ||
32 | + sprintf(stime, "%jd\n", (intmax_t)stb.st_mtime); | ||
33 | for (c=0; cachelist[c]; c++) { | ||
34 | int fd; | ||
35 | sprintf(path, "/proc/net/rpc/%s/flush", cachelist[c]); | ||
36 | -- | ||
37 | 2.19.2 | ||
38 | |||