From: Geert Uytterhoeven Date: Mon, 29 Oct 2007 20:21:37 +0000 (+0100) Subject: libata and bogus LBA48 drives X-Git-Tag: v2.6.24-rc2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17bd9a2f4c35de29d2539a2ff6851d61be281e25;p=pandora-kernel.git libata and bogus LBA48 drives A colleague noticed recent versions of Ubuntu no longer detect his 80 GB ST380020ACE drive. This drive is special in that it advertises LBA48 support, but has the lba_capacity_2 field set to zero (cfr. http://lkml.org/lkml/2004/3/30/163). Upon closer look, libata indeed doesn't seem to handle this case yet. Below is an (untested) fix. Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed