[packages/ceph] - fix libfuse3 api usage

baggins baggins at pld-linux.org
Sun Feb 13 13:02:16 CET 2022


commit b1c2f923b9d2a2d7c360dd791a4c1f80cded915f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 13 13:01:51 2022 +0100

    - fix libfuse3 api usage

 ceph.spec       |  4 +++-
 fuse3-api.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ceph.spec b/ceph.spec
index bbe3059..b2b6f5d 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -52,6 +52,7 @@ Patch6:		types.patch
 Patch7:		use-provided-cpu-flag-values.patch
 Patch8:		ix86-no-asm.patch
 Patch9:		long-int-time_t.patch
+Patch10:	fuse3-api.patch
 URL:		https://ceph.io/
 %{?with_accelio:BuildRequires:	accelio-devel}
 %{?with_babeltrace:BuildRequires:	babeltrace-devel}
@@ -78,7 +79,7 @@ BuildRequires:	libaio-devel
 BuildRequires:	libatomic_ops
 BuildRequires:	libblkid-devel >= 2.17
 BuildRequires:	libedit-devel >= 2.11
-BuildRequires:	libfuse-devel
+BuildRequires:	libfuse3-devel
 # +RDMA?
 %{?with_accelio:BuildRequires:	libibverbs-devel}
 BuildRequires:	libltdl-devel
@@ -283,6 +284,7 @@ uruchamiania demonów.
 %ifarch %{ix86}
 %patch9 -p1
 %endif
+%patch10 -p1
 
 %build
 install -d build
diff --git a/fuse3-api.patch b/fuse3-api.patch
new file mode 100644
index 0000000..f7b25ce
--- /dev/null
+++ b/fuse3-api.patch
@@ -0,0 +1,11 @@
+--- ceph-16.2.7/src/client/fuse_ll.cc~	2021-12-07 17:15:49.000000000 +0100
++++ ceph-16.2.7/src/client/fuse_ll.cc	2022-02-13 13:00:03.661557137 +0100
+@@ -247,7 +247,7 @@
+ }
+ 
+ static void fuse_ll_forget(fuse_req_t req, fuse_ino_t ino,
+-			   long unsigned nlookup)
++			   uint64_t nlookup)
+ {
+   CephFuse::Handle *cfuse = fuse_ll_req_prepare(req);
+   cfuse->client->ll_forget(cfuse->iget(ino), nlookup+1);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ceph.git/commitdiff/b1c2f923b9d2a2d7c360dd791a4c1f80cded915f



More information about the pld-cvs-commit mailing list