<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/partitions, 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-08-06T17:11:01Z</updated>
<entry>
<title>fat: detect media without partition table correctly</title>
<updated>2008-08-06T17:11:01Z</updated>
<author>
<name>Frank Seidel</name>
</author>
<published>2008-04-28T09:16:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41204c8acab6f3795708c538e0e442720767c86d'/>
<id>urn:sha1:41204c8acab6f3795708c538e0e442720767c86d</id>
<content type='text'>
commit 0607fd02587a6b4b086dc746d63123c1f284db68 upstream

I received a complaint that some FAT formated medias (e.g.  sd memory cards)
trigger a "unknown partition table" message even though there is no partition
table and they work correctly, while in general (when e.g.  formated with
mkdosfs or even Windows Vista) this message is not shown.

Currently this seems only to happen when the medias get formatted with Windows
XP (and possibly Win 2000).  Then the boot indicator byte contains garbage
(part of text message) and so do the other parts checked by msdos_paritition
which then later triggers this message.

References: novell bug #364365

Most fat formatted media without partition table contains zeros in the boot
indication and the other tested bytes and so falls through the checks in
msdos_partition, leading it to return with 1 (all is fine).

But some (e.g.  WinXP formatted) fat fomated medias don't use boot_ind and so
the check fails and causes a "unkown partition table" warning eventhough there
is none and everything would be fine.

This additional check directly verifies if there is a fat formatted medium
without a partition table.

Signed-off-by: Frank Seidel &lt;fseidel@suse.de&gt;
Cc: Andreas Dilger &lt;adilger@sun.com&gt;
Acked-by: OGAWA Hirofumi &lt;hirofumi@mail.parknet.co.jp&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Enhanced partition statistics: remove old partition statistics</title>
<updated>2008-02-08T11:42:01Z</updated>
<author>
<name>Jerome Marchand</name>
</author>
<published>2008-02-08T11:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3c930d93365c495fbc1df28649da7cd4b97f4af'/>
<id>urn:sha1:c3c930d93365c495fbc1df28649da7cd4b97f4af</id>
<content type='text'>
Removes the now unused old partition statistic code.

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>Enhanced partition statistics: sysfs</title>
<updated>2008-02-08T11:41:58Z</updated>
<author>
<name>Jerome Marchand</name>
</author>
<published>2008-02-08T10:04:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34e8beac92c27d292938065f8375842d2840767c'/>
<id>urn:sha1:34e8beac92c27d292938065f8375842d2840767c</id>
<content type='text'>
Reports enhanced partition statistics in sysfs.

Signed-off-by: Jerome Marchand &lt;jmarchan@redhat.com&gt;
</content>
</entry>
<entry>
<title>Enhanced partition statistics: update partition statitics</title>
<updated>2008-02-08T11:41:56Z</updated>
<author>
<name>Jerome Marchand</name>
</author>
<published>2008-02-08T10:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f2576af5ba5913538fda7dfb7c6a17771025477'/>
<id>urn:sha1:6f2576af5ba5913538fda7dfb7c6a17771025477</id>
<content type='text'>
Updates the enhanced partition statistics in generic block layer
besides the disk statistics.

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>Block: Fix whole_disk attribute bug</title>
<updated>2008-02-07T19:31:46Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2008-02-07T07:33:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4a00a2c06bc7802f52969cbdd19f4c680a7cd20'/>
<id>urn:sha1:f4a00a2c06bc7802f52969cbdd19f4c680a7cd20</id>
<content type='text'>
The "whole_disk" attribute was not properly converted in the block
device conversion earlier, and if the file is read, bad things can
happen.  This patch fixes this, making the attribute an empty one,
preserving the original functionality.

Many thanks to David Miller for finding this, and pointing me in the
proper place within the block code to look.

Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>partition: use DEFAULT_SGI_PARTITION for SGI_PARTION default</title>
<updated>2008-02-06T18:41:08Z</updated>
<author>
<name>Thomas Bogendoerfer</name>
</author>
<published>2008-02-06T09:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b75cb06f72a8efebc8e1a66af4b8362172a3b661'/>
<id>urn:sha1:b75cb06f72a8efebc8e1a66af4b8362172a3b661</id>
<content type='text'>
Use DEFAULT_SGI_PARTITION for SGI_PARTION default

Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Kobject: convert fs/* from kobject_unregister() to kobject_put()</title>
<updated>2008-01-25T04:40:40Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2007-12-20T16:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=197b12d6796a3bca187f22a8978a33d51e2bcd79'/>
<id>urn:sha1:197b12d6796a3bca187f22a8978a33d51e2bcd79</id>
<content type='text'>
There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().


Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&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: get rid of kobject_add_dir</title>
<updated>2008-01-25T04:40:11Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2007-11-06T06:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ff6abff832fbc6cb1d769f6106c841bc2b09f63'/>
<id>urn:sha1:4ff6abff832fbc6cb1d769f6106c841bc2b09f63</id>
<content type='text'>
kobject_create_and_add is the same as kobject_add_dir, so drop
kobject_add_dir.


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

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