From patchwork Sun Mar 3 12:22:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 2208301 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A4DAEDF215 for ; Sun, 3 Mar 2013 12:32:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753109Ab3CCMcc (ORCPT ); Sun, 3 Mar 2013 07:32:32 -0500 Received: from mx0.parallels.com ([199.115.104.20]:49496 "EHLO mx0.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752946Ab3CCMcb convert rfc822-to-8bit (ORCPT ); Sun, 3 Mar 2013 07:32:31 -0500 X-Greylist: delayed 576 seconds by postgrey-1.27 at vger.kernel.org; Sun, 03 Mar 2013 07:32:31 EST Received: from [199.115.105.252] (helo=mail.parallels.com) by mx0.parallels.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1UC7wM-0008Fq-Uy; Sun, 03 Mar 2013 07:22:54 -0500 Received: from US-EXCH1.sw.swsoft.com ([fe80::2036:e1e5:b63e:bd9b]) by US-EXCH1.sw.swsoft.com ([fe80::2036:e1e5:b63e:bd9b%10]) with mapi id 14.02.0247.003; Sun, 3 Mar 2013 04:22:54 -0800 From: James Bottomley To: Chris Mason CC: "linux-fsdevel@vger.kernel.org" , "linux-btrfs@vger.kernel.org" Subject: [PATCH] btrfs: fix compile failure on parisc Thread-Topic: [PATCH] btrfs: fix compile failure on parisc Thread-Index: AQHOGAnU1LrN4h+b20SpDD3LmOVQ+Q== Date: Sun, 3 Mar 2013 12:22:53 +0000 Message-ID: <1362313371.3057.28.camel@dabdike.int.hansenpartnership.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [46.65.52.191] Content-ID: MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org x86 seems to include vmalloc.h by default along some of its arch paths, but most other architectures don't, leading to this compile failure: fs/btrfs/raid56.c: In function 'btrfs_alloc_stripe_hash_table': fs/btrfs/raid56.c:206: error: implicit declaration of function 'vzalloc' fs/btrfs/raid56.c:206: warning: assignment makes pointer from integer without a cast fs/btrfs/raid56.c:226: error: implicit declaration of function 'vfree' make[2]: *** [fs/btrfs/raid56.o] Error 1 Fix this by adding vmalloc.h explicitly to the includes list Signed-off-by: James Bottomley --- -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c index 0722205..1f0f57e 100644 --- a/fs/btrfs/raid56.c +++ b/fs/btrfs/raid56.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include "compat.h"