From patchwork Thu Aug 1 03:19:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: majianpeng X-Patchwork-Id: 2836719 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 09EF99F9C8 for ; Thu, 1 Aug 2013 03:20:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7306F201FB for ; Thu, 1 Aug 2013 03:20:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 67AD2201EB for ; Thu, 1 Aug 2013 03:20:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752594Ab3HADU0 (ORCPT ); Wed, 31 Jul 2013 23:20:26 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:51896 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752364Ab3HADUZ (ORCPT ); Wed, 31 Jul 2013 23:20:25 -0400 Received: by mail-pb0-f42.google.com with SMTP id un15so1011036pbc.1 for ; Wed, 31 Jul 2013 20:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:reply-to:subject:x-priority:x-guid:x-has-attach :x-mailer:mime-version:message-id:content-type :content-transfer-encoding; bh=LqHXfnmOVy342aoAqEfMsc8nB5mnMe5e4xoGkTBk6Oc=; b=lw+MbdAKtNnWysB+AfscMlCtDWjV9sc+iWeKxEHuLxOU5ycoeu09LwjkPFbEc+sogc v+SqRwL2SUyg6fhdn36ljDTm1lbEvZfMx66YK20Ep0uOCHrf4IUh0jLOTB2Y1SF0fEM9 wKiE/4r3pnOhtEwkBpfzuYXdRxUWiyH5ovWFtrLX3o774wSY92+1iumAXx1YGki+q8jz OfXAiWBabAxuNv9kO9QyHvvL/iAM675WOtHu2ht/U7s9/FLCeDx28anV6fecJ0parnGv h2khf2DUUBhjX78gSYxpdpbMYLY1qwtDBlLdFW3dd1b0XiUP6NOH8cHComALA9uJWrcs jW2Q== X-Received: by 10.68.164.97 with SMTP id yp1mr81682520pbb.77.1375327225133; Wed, 31 Jul 2013 20:20:25 -0700 (PDT) Received: from majianpeng ([218.242.10.182]) by mx.google.com with ESMTPSA id qf7sm1139164pac.14.2013.07.31.20.19.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 31 Jul 2013 20:20:24 -0700 (PDT) Date: Thu, 1 Aug 2013 11:19:02 +0800 From: majianpeng To: sage Cc: ceph-devel Reply-To: majianpeng Subject: [PATCH] ceph: Update FUSE_USE_VERSION from 26 to 30. X-Priority: 3 X-GUID: 560A61BA-CFB7-4F51-B7F8-164C62D0BDB7 X-Has-Attach: no X-Mailer: Foxmail 7.0.1.90[en] Mime-Version: 1.0 Message-ID: <201308011109083820483@gmail.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- fusetrace/fusetrace_ll.cc | 2 +- src/client/fuse_ll.cc | 2 +- src/rbd_fuse/rbd-fuse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 1.8.3.rc1.44.gb387c77 Thanks! Jianpeng Ma diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc index eb7100a..7f2b843 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 diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc index 0812c9a..c82d004 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 #include diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c index 5a4bfe2..195cb76 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 #include