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

From: Kay Sievers
Date: Sat May 23 2009 - 07:36:26 EST


On Sat, May 23, 2009 at 08:33, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> 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
--
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/