Re: [PATCH 01/20] sysfs: Implement sysfs_rename_link

Eric W. Biederman
2009-05-28T01:52:13Z

Kay Sievers <kay.sievers@vrfy.org> writes:

> On Thu, May 28, 2009 at 02:14, Greg KH <greg@kroah.com> wrote:
>>
>> So, there's been a lot of talk in this thread.
>>
>> Eric, do you have an updated set of patches for me to try out?
>
> I think we should get a version of the patch in that removes all files
> in a directory on cleanup, but warn if a subdirectory is still there.
> James has a patch to fix the one issue we've seen so far with existing
> child directories.
>
> After that, we should work on fixing the users that leave files
> behind, and can possibly stop cleaning up files, if we want to.

Agreed. We are not yet ready to only remove empty directories from sysfs.
So fixing that problem with the current sysfs should be done in a
separate patchset after the other fixes.

I will look at putting that together.

Eric