From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 609 invoked by alias); 1 Oct 2010 15:26:38 -0000 Received: (qmail 576 invoked by uid 22791); 1 Oct 2010 15:26:37 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from a.mail.sonic.net (HELO a.mail.sonic.net) (64.142.16.245) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Oct 2010 15:26:32 +0000 Received: from are.twiddle.net (are.twiddle.net [75.101.38.216]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o91FQTRM007105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Oct 2010 08:26:30 -0700 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (8.14.4/8.14.4) with ESMTP id o91FQS9v002062; Fri, 1 Oct 2010 08:26:29 -0700 Message-ID: <4CA5FDA4.2060705@twiddle.net> Date: Fri, 01 Oct 2010 15:26:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Thunderbird/3.1.4 MIME-Version: 1.0 To: Andreas Jaeger CC: libc-hacker@sourceware.org Subject: Re: Patch to handle cgroup and btrfs filesystems References: <201010010632.57347.aj@suse.de> In-Reply-To: <201010010632.57347.aj@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00002.txt.bz2 On 09/30/2010 09:32 PM, Andreas Jaeger wrote: > /* Constant that identifies the `bfs' filesystem. */ > #define BFS_MAGIC 0x1BADFACE > > +/* Constant that identifies the `btrfs' filesystem. */ > +#define BTRFS_SUPER_MAGIC 0x1BADFACE > + > +/* Constant that identifies the `cgroup' filesystem. */ > +#define CGROUP_SUPER_MAGIC 0x1BADFACE 3 identical magic's can't be put into the same switch statements. How did this compile for you? r~