From: Alexey Dobriyan Date: Tue, 31 Mar 2009 22:19:15 +0000 (-0700) Subject: proc tty: add struct tty_operations::proc_fops X-Git-Tag: v2.6.30-rc1~601 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae149b6bec64a09373ba20fce75f8aa6b14b78fd;p=pandora-kernel.git proc tty: add struct tty_operations::proc_fops Used for gradual switch of TTY drivers from using ->read_proc which helps with gradual switch from ->read_proc for the whole tree. As side effect, fix possible race condition when ->data initialized after PDE is hooked into proc tree. ->proc_fops takes precedence over ->read_proc. Signed-off-by: Alexey Dobriyan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed