summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2013-08-01 11:19:02 +0800
committerSage Weil <sage@inktank.com>2013-08-08 22:49:58 -0700
commitd89942298568913b9067c4f5dde4d2b7eaa7cae2 (patch)
tree4c4d392672e2882c09b30cdc690ad52110514407
parentf730800bcade9b4a39e92dfe6d6312539e993c64 (diff)
downloadceph-wip-fuse.tar.gz
ceph: Update FUSE_USE_VERSION from 26 to 30.wip-fuse
When compiling, it met this error: >In file included from /usr/local/include/fuse/fuse.h:19:0, > from client/fuse_ll.cc:17: >/usr/local/include/fuse/fuse_common.h:474:4: error: #error only API >version 30 or greater is supported Update FUSE_USE_VERSION from 26 to 30. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
-rw-r--r--fusetrace/fusetrace_ll.cc2
-rw-r--r--src/client/fuse_ll.cc2
-rw-r--r--src/rbd_fuse/rbd-fuse.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc
index eb7100a867f..7f2b8438f1f 100644
--- a/fusetrace/fusetrace_ll.cc
+++ b/fusetrace/fusetrace_ll.cc
@@ -11,7 +11,7 @@
gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh
*/
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc
index 9427f201a9f..3f8a4b5d358 100644
--- a/src/client/fuse_ll.cc
+++ b/src/client/fuse_ll.cc
@@ -12,7 +12,7 @@
*
*/
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
#include <fuse/fuse.h>
#include <fuse/fuse_lowlevel.h>
diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c
index 5a4bfe2702c..195cb76492c 100644
--- a/src/rbd_fuse/rbd-fuse.c
+++ b/src/rbd_fuse/rbd-fuse.c
@@ -1,7 +1,7 @@
/*
* rbd-fuse
*/
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
#include <stdio.h>
#include <stdlib.h>