On Tue, 2010-02-16 at 16:51 -0800, Luis R. Rodriguez wrote: > FWIW the two globals can be seen here: > > simple_release_fs(&debugfs_mount, &debugfs_mount_count); > > Not sure how to deal with that. I think the safest approach would be to reimplement debugfs_remove_recursive() using only debugfs_remove(). It would only use the debugfs internals to find the children. I would even avoid looking for siblings. The idea is to descend the directory structure from the top (i.e. the directory to be removed) to look for a child that is a file or an empty directory and remove it. Then start from the top and do the same until the top directory has no children. Then remove the top directory. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html