David S. Miller af054ed001 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 <elendil@planet.nl>
Tested-by: Frans Pop <elendil@planet.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-24 00:32:30 -07:00
..
2009-06-15 18:52:53 +02:00
2009-05-17 19:12:25 +02:00
2009-06-21 22:48:03 -07:00
2009-06-15 18:52:58 +02:00
2009-05-17 19:12:25 +02:00
2009-01-06 17:20:52 +01:00
2009-05-17 19:12:25 +02:00
2009-03-27 12:46:28 +01:00
2009-05-17 19:12:25 +02:00
2009-04-08 14:13:02 +02:00
2009-05-17 19:12:25 +02:00
2009-03-27 12:46:45 +01:00
2009-06-15 22:16:10 +02:00
2009-05-15 06:44:38 +02:00
2009-06-15 22:16:10 +02:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-04-08 14:13:03 +02:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-06-15 22:16:10 +02:00
2009-06-15 18:52:53 +02:00
2009-06-15 18:52:53 +02:00
2008-11-02 21:40:08 +01:00
2009-04-08 14:13:03 +02:00
2009-05-17 19:12:25 +02:00
2009-06-15 18:52:53 +02:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-06-15 18:52:55 +02:00
2009-06-15 18:53:00 +02:00
2009-06-15 18:52:53 +02:00
2009-01-06 17:20:52 +01:00
2009-05-17 19:12:25 +02:00