diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2007-07-29 22:24:09 +0300 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-08-04 09:13:28 -0500 |
commit | 66acdb0309507950376393f2fb1c8e7482fb4d52 (patch) | |
tree | 1829383c32d93fc8b4fe645ebf755b72d93ed0ce /fs/sysfs/file.c | |
parent | 0ceb47987d31f8529c60f1e802e0523fcde9492c (diff) |
[SCSI] aha152x: Clean Reset path
What Reset code was doing: Save command's important/dangerous
Info on stack. NULL those members from scsi_cmnd.
Issue a Reset. wait for it to finish than restore members
and return.
What I do is save or NULL nothing. But use the "resetting"
hint in aha152x_internal_queue() to NULL out working members
and leave struct scsi_cmnd alone.
The indent here looks funny but it will change/drop in last
patch and it is clear this way what changed.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'fs/sysfs/file.c')
0 files changed, 0 insertions, 0 deletions