<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/iscsi_boot_sysfs.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-06-29T21:43:06Z</updated>
<entry>
<title>[SCSI] iscsi_ibft, be2iscsi, iscsi_boot: fix boot kobj data lifetime management</title>
<updated>2011-06-29T21:43:06Z</updated>
<author>
<name>Mike Christie</name>
</author>
<published>2011-06-24T20:11:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f457a46f179df41b0f6d80dee33b6e629945f276'/>
<id>urn:sha1:f457a46f179df41b0f6d80dee33b6e629945f276</id>
<content type='text'>
be2iscsi passes the boot functions its phba object which is
allocated in the shost, but iscsi_ibft passes in a object
allocated for each item to display. The problem is that
iscsi_boot_sysfs was managing the lifetime of the object
passed in and doing a kfree on release. This causes a double
free for be2iscsi which frees the shost in its pci_remove.

This patch fixes the problem by adding a release callback
which the drivers can call kfree or a put() type of function
(needed for be2iscsi which will do a get/put on the shost).

Signed-off-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] iscsi_boot_sysfs: have this module check for null on destruction</title>
<updated>2011-06-29T21:43:03Z</updated>
<author>
<name>Mike Christie</name>
</author>
<published>2011-06-24T20:11:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d04516310aaef3970c642a54531a52123001178'/>
<id>urn:sha1:9d04516310aaef3970c642a54531a52123001178</id>
<content type='text'>
This moves the check for NULL boot_sets to the iscsi_boot_sysfs
module instead of having the drivers do it.

Signed-off-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] iscsi boot: mv iscsi_boot_sysfs to drivers/scsi</title>
<updated>2010-08-06T15:45:07Z</updated>
<author>
<name>Mike Christie</name>
</author>
<published>2010-08-02T17:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aab7a8fd19d0c2f7fcac4d07616899655e326dfe'/>
<id>urn:sha1:aab7a8fd19d0c2f7fcac4d07616899655e326dfe</id>
<content type='text'>
iscsi_boot_sysfs does not depend on firmware. Any iscsi driver
can use it. This patch moves iscsi_boot_sysfs to the scsi
dir, so that it can be used on any arch with any driver.

Signed-off-by: Mike Christie &lt;mchristi@redhat.com&gt;
Acked-by: Konrad Rzeszutek Wilk &lt;konrad@kernel.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
</feed>
