From: Maciej Trela Date: Fri, 13 Jan 2012 21:52:38 +0000 (+0000) Subject: [SCSI] libsas: kill spurious sas_put_device X-Git-Tag: v3.4-rc1~145^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdfd9d1b8912991d88fc29a456867c62515218f9;p=pandora-kernel.git [SCSI] libsas: kill spurious sas_put_device Holdover from a patch rework, prior to the addition of SAS_DEV_DESTROY we were holding a reference while the destruct was pending in case the domain was torn down before the desctruct event ran. That case is covered by SAS_DEV_DESTROY, and the sas_put_device() just corrupts freed memory, or worse frees the memory while another agent holds a reference. Signed-off-by: Maciej Trela Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- Reading git-diff-tree failed