summaryrefslogtreecommitdiffstats
path: root/src/ceph_fuse.cc
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2020-05-06 02:43:12 +0200
committerXiubo Li <xiubli@redhat.com>2020-05-25 03:39:47 +0200
commit7a3cc61de03075ada0527f77b64d3456cb47e3a2 (patch)
tree708fa4023f9d0cfa1e82c716656f54429c737f20 /src/ceph_fuse.cc
parentMerge pull request #34174 from theanalyst/doc/active-releases-oct (diff)
downloadceph-7a3cc61de03075ada0527f77b64d3456cb47e3a2.tar.xz
ceph-7a3cc61de03075ada0527f77b64d3456cb47e3a2.zip
libfuse: check the libfuse version from the pkconfig/fuse{3}.pc file
Since libfuse 3.2 to 3.8 the minor version for FUSE library has stopped updating together with the releases. So we cannot check version by using the FUSE_VERSION macro in the fuse_common.h header file directly. This will check the major/minor version from the fuse{3}.pc pkconfig file. Fixes: https://tracker.ceph.com/issues/45396 Signed-off-by: Xiubo Li <xiubli@redhat.com>
Diffstat (limited to 'src/ceph_fuse.cc')
-rw-r--r--src/ceph_fuse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc
index 3692b5c6ff6..02aed32ac69 100644
--- a/src/ceph_fuse.cc
+++ b/src/ceph_fuse.cc
@@ -44,6 +44,7 @@
#include <fuse.h>
#include <fuse_lowlevel.h>
+#include "include/ceph_fuse.h"
#define dout_context g_ceph_context