[ Cc'ing myself because I'm not subscribed to linux-scsi ]
Hi James-
I found two problems in 2.6.27:
1. If CONFIG_LBD is not set on 32-bit platforms, the computation
added in sd_read_capacity() by commit 7404ad3b computes sz
incorrectly. On my system (a Fedora 9 VMware guest with an 8GB disk),
sz is computed as zero.
2. The new string helper string_get_size() added by commit 3c9f3681
goes into an infinite loop if it is passed a "size" of zero. the "for
(j=0;" loop never terminates because 0*10 is always less than 1000.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html