procfs: fix tid fdinfo
commit3835541dd481091c4dbf5ef83c08aed12e50fd61
authorJerome Marchand <jmarchan@redhat.com>
Tue, 27 Apr 2010 20:13:06 +0000 (27 13:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Apr 2010 23:26:03 +0000 (27 16:26 -0700)
treebb40567215e394392ed0167867a0bf2a5916a583
parent9e584fbbd9fd4f0f10b8aafc9982df8d0b553e35
procfs: fix tid fdinfo

Correct the file_operations struct in fdinfo entry of tid_base_stuff[].

Presently /proc/*/task/*/fdinfo contains symlinks to opened files like
/proc/*/fd/.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Miklos Szeredi <mszeredi@suse.cz>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c