On Mon, Oct 01, 2007 at 04:44:02PM +0200, Ingo Molnar wrote: > but there seems to be a bug in it, i get this: > > kobject_add failed for 500 with -EEXIST, don't try to register things with > the same name in the same directory.
Looks like a remove_dir/create_dir race .. free_user() alloc_uid() uid_hash_remove(up); uid_hash_insert(new, hashent); schedule_work() user_kobject_create(); kobject_add(); -> Boom! remove_user_sysfs_dir(); /me looks up sysfs programming examples .. -- Regards, vatsa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/