[SCSI] bfa: fix the issue of not handling scsi_cmnd sg chaining case
authorJing Huang <huangj@brocade.com>
Fri, 19 Mar 2010 18:06:05 +0000 (11:06 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:17 +0000 (09:24 -0500)
Currently the driver doesn't take into consideraion of possible sg chaining
when it walks through the sg list. This is fixed by using the sg_next()
which automatically handles the chaining case. Obosolete code is removed
as a result of this change.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found