Re: [PATCH v2] btrfs: Remove all sysfs entries

From: Mitch Harder
Date: Wed Jun 15 2011 - 11:54:19 EST


On Wed, Jun 15, 2011 at 5:34 AM, Hugo Mills <hugo@xxxxxxxxxxxxx> wrote:
> On Wed, Jun 15, 2011 at 10:40:31AM +0200, Maarten Lankhorst wrote:
>> Seems that currently none of the sysfs are created any more, so just
>> remove sysfs support entirely.
>>
>> Fixes compiling warnings in 3.0rc3
>
>   I would actually like to retain sysfs support -- the current
> entries may not be used (or useful, or in the right place, or even
> visible these days), but there's plenty of things that could and
> should go in sysfs from btrfs.
>
>   So, please do remove the unwanted/unused file entries, but could
> you leave the sysfs file itself, and the (limited) bits that create
> the btrfs subdir? Otherwise, I'm going to be putting it all back in
> this weekend when I get the time to revisit Goffredo's old sysfs
> patch...
>
>   Thanks,
>   Hugo.
>
>> Signed-off-by: Maarten Lankhorst <m.b.lankhorst@xxxxxxxxx>
>>
>> --
>
>   (I think this should be three - signs, not two: my signature-
> cropping script removed the whole patch)
>

I'm not sure if Goffredo is following this thread, but I think you'll
need a missing patch to provide a fs/btrfs/sysfs.h file in order to
use his sysfs patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/