source:
patches/linux-2.6.16.5-sun_disklabel_fix-1.patch@
a33dbaa
Last change on this file since a33dbaa was 5c5752c, checked in by , 19 years ago | |
---|---|
|
|
File size: 682 bytes |
-
fs/partitions/sun.c
Submitted By: Joe Ciccone <joeciccone at crazyeyesoft dot com> Date: 2006-04-14 Initial Package Version: 2.6.16 Upstream Status: Sent Origin: Joe Ciccone Description: This patch fixes fdisk so that it can properly calculate the checksum of a sun disklabel
old new 61 61 } 62 62 /* Look at the checksum */ 63 63 ush = ((__be16 *) (label+1)) - 1; 64 for (csum = 0; ush >= ((__be16 *) label);)64 while (ush < (__be16 *) label) 65 65 csum ^= *ush--; 66 66 if (csum) { 67 67 printk("Dev %s Sun disklabel: Csum bad, label corrupted\n",
Note:
See TracBrowser
for help on using the repository browser.