]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fix oops in scsi_release_buffers()
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 15 Sep 2005 17:52:51 +0000 (13:52 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 17 Sep 2005 20:24:53 +0000 (15:24 -0500)
commit28f62d5281ceecfa67ea7076e07c64eb9287ef3a
tree6b01de07c638fd596cc254ca6a095aa4f5ef9ba2
parent7fd33861139e9c5fa69702e180bd3b10281fcb68
[SCSI] fix oops in scsi_release_buffers()

I found one other thing that needs to be fixed.  The call to
scsi_release_buffers in scsi_unprep_request causes an oops, because the
sgtable has already been freed in scsi_io_completion.  The following patch
is needed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c