Re: [PATCH][2.6.3-mm2] unregister path on devfs_remove
From: Andrew Morton
Date: Mon Feb 23 2004 - 15:09:17 EST
Andrey Borzenkov <arvidjaar@xxxxxxx> wrote:
>
> The patch implements cleanup of device path on devfs_remove. It does not
> use extra counters as was suggested once - rather it simply removes all
> empty directories. Manually created directories (and connecting paths)
> are preserved and cleaned up on rmdir/unlink.
>
> The creation/removing of path is not atomic; it will be addressed later.
> It apparently requires replacing per-directory locks with global one;
> using extra counters does not actually helps here.
>
> This patch will cause devfs_remove on directories emit warning in most
> cases. Removing connecting directories makes no sense with this change
> so if it is agreed upon I send patch that removes all
> devfs_remove("directory") from kernel.
Well could you please either send that patch or remove the warning? I get
way too much mail when -mm kernels start spitting new warnings.
-
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/