diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/sem.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2091,7 +2091,8 @@ void exit_sem(struct task_struct *tsk) | |||
2091 | * possibility where we exit while freeary() didn't | 2091 | * possibility where we exit while freeary() didn't |
2092 | * finish unlocking sem_undo_list. | 2092 | * finish unlocking sem_undo_list. |
2093 | */ | 2093 | */ |
2094 | spin_unlock_wait(&ulp->lock); | 2094 | spin_lock(&ulp->lock); |
2095 | spin_unlock(&ulp->lock); | ||
2095 | rcu_read_unlock(); | 2096 | rcu_read_unlock(); |
2096 | break; | 2097 | break; |
2097 | } | 2098 | } |