From: Douglas Gilbert Date: Sat, 19 Aug 2006 04:11:34 +0000 (-0400) Subject: [SCSI] sg: fix incorrect page problem X-Git-Tag: v2.6.18-rc5~57^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2155d0417df9f2b4c0d396b6530b864d9f08623;p=pandora-kernel.git [SCSI] sg: fix incorrect page problem 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 --- Reading git-diff-tree failed