[PATCH] Char: mxser_new, lock count and flags
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:45:23 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:29 +0000 (10:51 -0800)
commit5ff7205dd9084c96cf2bedc4d0481790c5a7a635
tree6669cf9dba51753349b355d8928e0707d08239ea
parent722d5e4ae89f061582cc46ccbbd3b5ae87a6e165
[PATCH] Char: mxser_new, lock count and flags

Both open count and INITIALIZED flag should be changed under lock.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: <osv@javad.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser_new.c