commit | e0426e6a09954d205da2d674a3d368d2715e3afd | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Wed Jul 23 21:29:58 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 24 10:47:30 2008 -0700 |
tree | fcdc9863df9b7458f51730aaf8ab022dd87fcc84 | |
parent | bbe48ecc7f6559318cfc6c023da225a0b0e14ab3 [diff] |
vt: hold console_sem across sysfs operations Hold console sem while creating/destroying sysfs files. Serialisation is so far done by BKL held in tty release_dev and chrdev_open, but no other locks are held in open path. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Aristeu Rozanski <aris@ruivo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>