X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Fuser.c;h=46d0165ca70c6b10240256fb1ccc2b3420c6c91e;hb=278498d438781426d8f315b65f7bca023a26fcc0;hp=2c000e7132acec2201a872e992ca0fc791894528;hpb=1eb51c33b21ffa3fceb634d1d6bcd6488c79bc26;p=~andy%2Flinux diff --git a/kernel/user.c b/kernel/user.c index 2c000e7132a..46d0165ca70 100644 --- a/kernel/user.c +++ b/kernel/user.c @@ -330,9 +330,9 @@ done: */ static void free_user(struct user_struct *up, unsigned long flags) { - spin_unlock_irqrestore(&uidhash_lock, flags); INIT_DELAYED_WORK(&up->work, cleanup_user_struct); schedule_delayed_work(&up->work, msecs_to_jiffies(1000)); + spin_unlock_irqrestore(&uidhash_lock, flags); } #else /* CONFIG_USER_SCHED && CONFIG_SYSFS */