From: Jiri Slaby Date: Thu, 24 Jul 2008 04:29:58 +0000 (-0700) Subject: vt: hold console_sem across sysfs operations X-Git-Tag: v2.6.27-rc1~653 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0426e6a09954d205da2d674a3d368d2715e3afd;p=pandora-kernel.git 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 Cc: Alan Cox Cc: Aristeu Rozanski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed