]> git.baikalelectronics.ru Git - kernel.git/commit
proc: revert /proc/uptime to ->read_proc hook
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 27 Oct 2008 19:38:27 +0000 (22:38 +0300)
committerAlexey Dobriyan <adobriyan@gmail.com>
Mon, 27 Oct 2008 19:56:56 +0000 (22:56 +0300)
commitdb0c82800883b1a451eb5317aaa286f7dbbab3b5
tree7a753aec4f97afda592cc19c3536178a81fce41d
parent6ff8607f480ba298ee9341aaab3e4ccb055cd5dd
proc: revert /proc/uptime to ->read_proc hook

Turned out some VMware userspace does pread(2) on /proc/uptime, but
seqfiles currently don't allow pread() resulting in -ESPIPE.

Seqfiles in theory can do pread(), but this can be a long story,
so revert to ->read_proc until then.

http://bugzilla.kernel.org/show_bug.cgi?id=11856

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
fs/proc/uptime.c