This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to handle cgroup and btrfs filesystems


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]