]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit6c87df37dcb9c6c33923707fa5191e0a65874d60
tree7a753aec4f97afda592cc19c3536178a81fce41d
parente013e13bf605b9e6b702adffbe2853cfc60e7806
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