<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/block/genhd.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-03-12T19:34:37Z</updated>
<entry>
<title>genhd must_check warning fix</title>
<updated>2008-03-12T19:34:37Z</updated>
<author>
<name>Roland McGrath</name>
</author>
<published>2008-03-12T00:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee27a558ae0ff5063ccd6c47ca102c0bb0e3ba27'/>
<id>urn:sha1:ee27a558ae0ff5063ccd6c47ca102c0bb0e3ba27</id>
<content type='text'>
Fixes:

	block/genhd.c:361: warning: ignoring return value of ‘class_register’, declared with attribute warn_unused_result

Signed-off-by: Roland McGrath &lt;roland@redhat.com&gt;
Acked-by: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>block/genhd.c: cleanups</title>
<updated>2008-03-04T10:28:31Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-03-04T10:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1826eadfc42839af7c1c5a1859510aff635d3fa1'/>
<id>urn:sha1:1826eadfc42839af7c1c5a1859510aff635d3fa1</id>
<content type='text'>
This patch contains the following cleanups:
- make the needlessly global struct disk_type static
- #if 0 the unused genhd_media_change_notify()

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>proper prototype for blk_dev_init()</title>
<updated>2008-03-04T10:28:29Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-03-04T10:23:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff88972c850ced92b9c4c7f538d85829c741eeb0'/>
<id>urn:sha1:ff88972c850ced92b9c4c7f538d85829c741eeb0</id>
<content type='text'>
This patch adds a proper prototye for blk_dev_init() in block/blk.h

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Enhanced partition statistics: procfs</title>
<updated>2008-02-08T11:42:00Z</updated>
<author>
<name>Jerome Marchand</name>
</author>
<published>2008-02-08T10:04:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28f39d553ee242000e62f6c589ee3dc6de3f9aaa'/>
<id>urn:sha1:28f39d553ee242000e62f6c589ee3dc6de3f9aaa</id>
<content type='text'>
Reports enhanced partition statistics in /proc/diskstats.

Signed-off-by: Jerome Marchand &lt;jmarchan@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: constify function pointer tables</title>
<updated>2008-01-29T20:55:19Z</updated>
<author>
<name>Jan Engelhardt</name>
</author>
<published>2008-01-29T19:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12f32bb31772e72d8cf52a29f961561bccc54c37'/>
<id>urn:sha1:12f32bb31772e72d8cf52a29f961561bccc54c37</id>
<content type='text'>
Signed-off-by: Jan Engelhardt &lt;jengelh@computergmbh.de&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Driver core: convert block from raw kobjects to core devices</title>
<updated>2008-01-25T04:40:36Z</updated>
<author>
<name>Kay Sievers</name>
</author>
<published>2007-05-21T20:08:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edfaa7c36574f1bf09c65ad602412db9da5f96bf'/>
<id>urn:sha1:edfaa7c36574f1bf09c65ad602412db9da5f96bf</id>
<content type='text'>
This moves the block devices to /sys/class/block. It will create a
flat list of all block devices, with the disks and partitions in one
directory. For compatibility /sys/block is created and contains symlinks
to the disks.

  /sys/class/block
  |-- sda -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda
  |-- sda1 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1
  |-- sda10 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda10
  |-- sda5 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5
  |-- sda6 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6
  |-- sda7 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda7
  |-- sda8 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda8
  |-- sda9 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda9
  `-- sr0 -&gt; ../../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0

  /sys/block/
  |-- sda -&gt; ../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda
  `-- sr0 -&gt; ../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>kset: convert block_subsys to use kset_create</title>
<updated>2008-01-25T04:40:23Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2007-11-06T18:36:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=830d3cfb16728e2496edc2985ad8f68025135e37'/>
<id>urn:sha1:830d3cfb16728e2496edc2985ad8f68025135e37</id>
<content type='text'>
Dynamically create the kset instead of declaring it statically.  We also
rename block_subsys to block_kset to catch all users of this symbol
with a build error instead of an easy-to-ignore build warning.

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>kobject: remove struct kobj_type from struct kset</title>
<updated>2008-01-25T04:40:10Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2007-10-16T16:11:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3514faca19a6fdc209734431c509631ea92b094e'/>
<id>urn:sha1:3514faca19a6fdc209734431c509631ea92b094e</id>
<content type='text'>
We don't need a "default" ktype for a kset.  We should set this
explicitly every time for each kset.  This change is needed so that we
can make ksets dynamic, and cleans up one of the odd, undocumented
assumption that the kset/kobject/ktype model has.

This patch is based on a lot of help from Kay Sievers.

Nasty bug in the block code was found by Dave Young
&lt;hidave.darkstar@gmail.com&gt;

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Dave Young &lt;hidave.darkstar@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>block: Fix memory leak in alloc_disk_node()</title>
<updated>2007-11-27T08:19:40Z</updated>
<author>
<name>Jerome Marchand</name>
</author>
<published>2007-11-23T08:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7674030e5eb83d9ba29318fb9b3ccedf84d583e'/>
<id>urn:sha1:c7674030e5eb83d9ba29318fb9b3ccedf84d583e</id>
<content type='text'>
Fix a memory leak in alloc_disk_node(). Don't forget to free 'dkstats' when the allocation of 'part' failed.

Signed-off-by: Jerome Marchand &lt;jmarchan@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Driver core: change add_uevent_var to use a struct</title>
<updated>2007-10-12T21:51:01Z</updated>
<author>
<name>Kay Sievers</name>
</author>
<published>2007-08-14T13:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eff2e7a8b65c25920207324e56611150eb1cd9a'/>
<id>urn:sha1:7eff2e7a8b65c25920207324e56611150eb1cd9a</id>
<content type='text'>
This changes the uevent buffer functions to use a struct instead of a
long list of parameters. It does no longer require the caller to do the
proper buffer termination and size accounting, which is currently wrong
in some places. It fixes a known bug where parts of the uevent
environment are overwritten because of wrong index calculations.

Many thanks to Mathieu Desnoyers for finding bugs and improving the
error handling.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Mathieu Desnoyers &lt;mathieu.desnoyers@polymtl.ca&gt;
Cc: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
</feed>
