Re: [PATCH 04/20] sysfs: Handle the general case of removing of directories with subdirectories

Kay Sievers
2009-05-23T11:36:24Z

On Sat, May 23, 2009 at 08:33, Eric W. Biederman <ebiederm@xmission.com> wrote:

> My plan going forward is to fix the ordering problems with deleting
> /sys/dev/char and /sys/dev/block.  Add a WARN_ON if we delete a
> non-empty directory.  Ensure we don't add something to an already
> deleted directory.

What's the problem in /sys/dev/? There are just a bunch of symlinks,
one for every device with a dev_t, and all in flat directories, and no
directory to remove.

Thanks,
Kay