diff options
author | Diego Nieto Cid <dnietoc@gmail.com> | 2010-11-15 04:10:58 -0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-11-20 21:58:58 +0100 |
commit | 3206e09443e604d8aa5d20f75fd39357d0bf03d4 (patch) | |
tree | 2b0a1f8ae7421b241dd5a660700134bb335cf3f9 /hostmux/stubs.c | |
parent | 0da1805bdd58125b01c3b1a9d95c3d6f495d2159 (diff) |
Properly release console lock.
The console lock was released only when there were no allocation errors
leaving it locked in the event mmap failed.
This patch moves the mutex_unlock call to a point in the flow of control
where it is consistent with the lock acquisition.
* console/console.c(netfs_get_dirents): Relocate mutex_unlock call to common
return path.
Diffstat (limited to 'hostmux/stubs.c')
0 files changed, 0 insertions, 0 deletions