[SCSI] sg: fix incorrect page problem
authorDouglas Gilbert <dougg@torque.net>
Sat, 19 Aug 2006 04:11:34 +0000 (00:11 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 26 Aug 2006 14:25:06 +0000 (09:25 -0500)
There's a problem where sg is executing a ->nopage operation on a
compound page, it actually calls get_page() on the first page in the
compound rather than the page which is being mapped.  The fix is to
select the correct page by indexing into the compound.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found