Skip to content

Commit

Permalink
ceph: Update FUSE_USE_VERSION from 26 to 30.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
majianpeng authored and Sage Weil committed Oct 2, 2013
1 parent f8a947d commit 63f5814
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fusetrace/fusetrace_ll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/client/fuse_ll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

#define FUSE_USE_VERSION 26
#define FUSE_USE_VERSION 30

#include <fuse/fuse.h>
#include <fuse/fuse_lowlevel.h>
Expand Down
2 changes: 1 addition & 1 deletion src/rbd_fuse/rbd-fuse.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* rbd-fuse
*/
#define FUSE_USE_VERSION 26
#define FUSE_USE_VERSION 30

#include "include/int_types.h"

Expand Down

0 comments on commit 63f5814

Please sign in to comment.