diff options
author | 2006-10-13 04:13:16 +0200 | |
---|---|---|
committer | 2006-10-13 08:13:34 -0700 | |
commit | 7f14daa19ea36b200d237ad3ac5826ae25360461 (patch) | |
tree | a123fefbb13871de2bc30fff49a4418b48a38732 /drivers/acpi/processor_idle.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (diff) | |
download | wireguard-linux-7f14daa19ea36b200d237ad3ac5826ae25360461.tar.xz wireguard-linux-7f14daa19ea36b200d237ad3ac5826ae25360461.zip |
[PATCH] Get core dump code to work...
The file based core dump code was broken by pipe changes - a relative
llseek returns the absolute file position on success, not the relative
one, so dump_seek() always failed when invoked with non-zero current
position.
Only success/failure can be tested with relative lseek, we have to trust
kernel that on success we've got right file offset. With this fix in
place I have finally real core files instead of 1KB fragments...
Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
[ Cleaned it up a bit while here - use SEEK_CUR instead of hardcoding 1 ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions