From patchwork Wed Aug 14 23:16:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zach Brown X-Patchwork-Id: 2844891 Return-Path: X-Original-To: patchwork-linux-btrfs@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 0BF3E9F239 for ; Wed, 14 Aug 2013 23:17:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14ADE206D4 for ; Wed, 14 Aug 2013 23:17:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31344206D0 for ; Wed, 14 Aug 2013 23:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760070Ab3HNXRa (ORCPT ); Wed, 14 Aug 2013 19:17:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39755 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933427Ab3HNXRZ (ORCPT ); Wed, 14 Aug 2013 19:17:25 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7ENHNNZ015159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 14 Aug 2013 19:17:24 -0400 Received: from lenny.home.zabbo.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r7ENHKSw017824 for ; Wed, 14 Aug 2013 19:17:23 -0400 From: Zach Brown To: linux-btrfs@vger.kernel.org Subject: [PATCH 13/15] btrfs-progs: don't use Date: Wed, 14 Aug 2013 16:16:43 -0700 Message-Id: <1376522205-16992-14-git-send-email-zab@redhat.com> In-Reply-To: <1376522205-16992-1-git-send-email-zab@redhat.com> References: <1376522205-16992-1-git-send-email-zab@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 sparse can freak out when is included because it redefines approximately a gazillion symbols already found in : /usr/include/linux/fs.h:203:9: warning: preprocessor token MS_RDONLY redefined /usr/include/sys/mount.h:37:9: this was the original definition Happily, we don't actually need to include the low-level for anything. One assumes it was just carried over from kernel space. Signed-off-by: Zach Brown --- btrfs-convert.c | 1 - mkfs.c | 1 - 2 files changed, 2 deletions(-) diff --git a/btrfs-convert.c b/btrfs-convert.c index 828f361..a1fb645 100644 --- a/btrfs-convert.c +++ b/btrfs-convert.c @@ -31,7 +31,6 @@ #include #include #include -#include #include "ctree.h" #include "disk-io.h" diff --git a/mkfs.c b/mkfs.c index 5724dec..8e38db7 100644 --- a/mkfs.c +++ b/mkfs.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include