source:
patches/linux-2.6.16.5-sun_disklabel_fix-1.patch@
50a4c58
Last change on this file since 50a4c58 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.