From: Luke Kosewski Date: Wed, 1 Jun 2005 07:39:28 +0000 (-0500) Subject: Input: do not corrupt system-wide procfs fops. X-Git-Tag: v2.6.13-rc1~51^2~43^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e334016fc1735e491385e14157a0360cd85c321b;p=pandora-kernel.git Input: do not corrupt system-wide procfs fops. entry->proc_fops is a pointer to struct file_operations. When we call create_proc_entry(...), it pointis to proc_file_operations, deep in fs/proc/generic.c. By adding a 'poll' member to this struct we effectively force the 'poll' member on every file in /proc, which is wrong (they all fail select(...) calls). This patch changes a copy of entry->proc_fops and reassigns it rather than changing the original member. Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed