Bryan Holty f52359622f [SCSI] scsi_lib.c: properly count the number of pages in scsi_req_map_sg()
The calculation of nr_pages in scsi_req_map_sg() doesn't account for
the fact that the first page could have an offset that pushes the end
of the buffer onto a new page.

Signed-off-by: Bryan Holty <lgeek@frontiernet.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-06-01 09:16:55 -05:00
..
2006-04-11 06:18:46 -07:00
2005-04-16 15:20:36 -07:00
2006-04-13 10:13:29 -05:00
2006-04-13 10:13:30 -05:00
2006-02-04 16:19:08 -06:00
2005-04-16 15:20:36 -07:00
2006-04-13 10:13:15 -05:00
2006-04-19 20:52:30 -04:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2006-04-13 10:13:27 -05:00