diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-06-17 21:58:38 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-06-17 21:58:38 +0200 |
| commit | b302cc1097773066a42bbab82ead0a4747fa1789 (patch) | |
| tree | 7a0538087c8920d77357dd701b72dbfb995db878 /lib/map | |
| parent | 9369f83bcdab140fbf485074654994f1ed625588 (diff) | |
| download | plan9front-b302cc1097773066a42bbab82ead0a4747fa1789.tar.xz | |
devsrv: fix wstat(), srvname(), avoid smalloc() while holding srv qlock, style
- wstat would half update the Srv data structure if name was too long
- srvname() walked the linked srv list without holding srv qlock
- dont access sp->chan while not holding srv qlock in srvopen()
- dont modify sp->owner while not holding srv qlock in srvcreate()
- avoid smalloc() allocations while holding srv qlock
- style pikeshedding, sorry
Diffstat (limited to 'lib/map')
0 files changed, 0 insertions, 0 deletions
