[Linux-stable-mirror] [PATCH 3.18 06/36] ALSA: seq: Make ioctls race-free