Skip to content
Commit 2856830b authored by Karen Xie's avatar Karen Xie Committed by James Bottomley
Browse files

[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: default avatarKaren Xie <kxie@chelsio.com>
Acked-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 2f4c782c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment