[PATCH] Char: stallion, brd struct locking
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:39:14 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:59 +0000 (08:28 -0800)
commit79cfe7ab54dbf2784159f5be6b665153cafcee3c
tree2f843c7ebb33f429ebe027c5885033715fe67d88
parentfc06b5cf858787934110b9398d2d5a0c0493c1dd
[PATCH] Char: stallion, brd struct locking

Since assigning of stl_brds[brdnr] is racy, add locking to this critical
section.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/stallion.c