Patch to handle cgroup and btrfs filesystems

Richard Henderson rth@twiddle.net
Fri Oct 1 15:26:00 GMT 2010


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~



More information about the Libc-hacker mailing list