From: David S. Miller Date: Tue, 23 Jun 2009 23:01:06 +0000 (-0700) Subject: ide-cd: Don't warn on bogus block size unless it actually matters. X-Git-Tag: v2.6.31-rc2~90^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af054ed0018f0a69f8ea6f7546cbf34385edf13b;p=pandora-kernel.git ide-cd: Don't warn on bogus block size unless it actually matters. Frans Pop reported that his CDROM drive reports a blocksize of 2352, and this causes new warnings due to commit e8e7b9eb11c34ee18bde8b7011af41938d1ad667 ("ide-cd: fix oops when using growisofs"). What we're trying to do is make sure that "blocklen >> SECTOR_BITS" is something the block layer won't choke on. And for Frans' case "2352 >> SECTOR_BITS" is equal to "2048 >> SECTOR_BITS", and thats "4". So warning in this case gives no real benefit. Reported-by: Frans Pop Tested-by: Frans Pop Signed-off-by: David S. Miller --- Reading git-diff-tree failed