summaryrefslogtreecommitdiffstats
path: root/drivers/input/mousedev.c
diff options
context:
space:
mode:
authorLuke Kosewski <lkosewsk@nit.ca>2005-06-01 09:39:28 +0200
committerDmitry Torokhov <dtor_core@ameritech.net>2005-06-01 09:39:28 +0200
commite334016fc1735e491385e14157a0360cd85c321b (patch)
treeedc583a85baac6975b38b8684825f3dfcbfc53b7 /drivers/input/mousedev.c
parentInput: return correct value when setting up absolute device via uinipt. (diff)
downloadlinux-e334016fc1735e491385e14157a0360cd85c321b.tar.xz
linux-e334016fc1735e491385e14157a0360cd85c321b.zip
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 <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mousedev.c')
0 files changed, 0 insertions, 0 deletions