]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] iscsi_tcp: make padbuf non-static
authorKaren Xie <kxie@chelsio.com>
Sun, 11 Jan 2009 03:06:07 +0000 (19:06 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 13 Jan 2009 16:41:34 +0000 (10:41 -0600)
commit2856830bd395fbc2f0c5327effe71fb025dd262d
tree213afd49b7705e653f6273db1183befde67068ed
parent2f4c782c2e06fbaef2ac2b6b7abd796b96abd98b
[SCSI] iscsi_tcp: make padbuf non-static

virt_to_page() call should not be used on kernel text and data
addresses.  virt_to_page() is used by sg_init_one(). So change padbuf
to be allocated within iscsi_segment.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi_tcp.c
include/scsi/libiscsi_tcp.h