]> err.no Git - linux-2.6/commit
[SCSI] gdth: Stop abusing ->done for internal commands
authorMatthew Wilcox <matthew@wil.cx>
Tue, 25 Sep 2007 16:42:03 +0000 (12:42 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:52:41 +0000 (14:52 -0400)
commit687d2bc4877081a44c41b5b312e012cc69edda53
tree8daf04207eb3fb61fe50aa1c051d09e9060e3de6
parent9ec76fbf7d6da3e98070a7059699d0ca019b0c9b
[SCSI] gdth: Stop abusing ->done for internal commands

The ->done member was being used to mark commands as being internal.
I decided to put a magic number in ->underflow instead.  I believe this
to be safe as no current user of ->underflow has any of the bottom 9
bits set.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/gdth.c
drivers/scsi/gdth_proc.c