[ltp] [Kernel 2.6.27.8] Disk protect patch

Renato S. Yamane linux-thinkpad@linux-thinkpad.org
Fri, 12 Dec 2008 08:19:56 -0200


I get last 2.6.27.2 disk-protect patch
(<http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch>), but when I apply
it to 2.6.27.8, I get some erros:

$ patch -p1 < disk_protect.2.6.27.2.patch
patching file Documentation/laptops/disk-shock-protection.txt
patching file drivers/ata/ahci.c
patching file drivers/ata/libata-core.c
Hunk #1 succeeded at 5287 (offset 23 lines).
patching file drivers/ata/libata-eh.c
Hunk #1 succeeded at 2447 (offset 1 line).
Hunk #2 succeeded at 2830 (offset 1 line).
Hunk #3 succeeded at 2904 (offset 1 line).
patching file drivers/ata/libata-scsi.c
patching file drivers/ide/Makefile
patching file drivers/ide/ide-io.c
patching file drivers/ide/ide-iops.c
patching file drivers/ide/ide-park.c
patching file drivers/ide/ide-probe.c
patching file drivers/ide/ide-taskfile.c
patching file drivers/ide/ide.c
patching file include/linux/ata.h
patching file include/linux/ide.h
patching file include/linux/libata.h
Hunk #4 succeeded at 456 (offset 1 line).
Hunk #5 succeeded at 569 (offset 1 line).
Hunk #6 succeeded at 627 (offset 1 line).
Hunk #7 succeeded at 716 (offset 1 line).
Hunk #8 succeeded at 1106 (offset 1 line).
Hunk #9 succeeded at 1121 (offset 1 line).

Any plans to do it to 2.6.27.8?

Best regards,
Renato