From: Chandra Seetharaman Date: Sat, 27 Jun 2009 02:30:06 +0000 (-0700) Subject: [SCSI] scsi_dh: Reference count scsi_dh_attach X-Git-Tag: v2.6.32-rc1~689^2~207 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c10db72c94818573552fd71c89540da325efdfb;p=pandora-kernel.git [SCSI] scsi_dh: Reference count scsi_dh_attach Problem reported: http://marc.info/?l=dm-devel&m=124585978305866&w=2 scsi_dh does not do a refernce count for attach/detach, and this affects the way it is supposed to work with multipath when a device is not in the dev_list of the hardware handler. This patch adds a reference count that counts each attach. Signed-off-by: Chandra Seetharaman Signed-off-by: James Bottomley Signed-off-by: James Bottomley --- Reading git-diff-tree failed