<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/btrfs/sysfs.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-03-08T01:04:49Z</updated>
<entry>
<title>Driver core: Constify struct sysfs_ops in struct kobj_type</title>
<updated>2010-03-08T01:04:49Z</updated>
<author>
<name>Emese Revfy</name>
</author>
<published>2010-01-19T01:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52cf25d0ab7f78eeecc59ac652ed5090f69b619e'/>
<id>urn:sha1:52cf25d0ab7f78eeecc59ac652ed5090f69b619e</id>
<content type='text'>
Constify struct sysfs_ops.

This is part of the ops structure constification
effort started by Arjan van de Ven et al.

Benefits of this constification:

 * prevents modification of data that is shared
   (referenced) by many other structure instances
   at runtime

 * detects/prevents accidental (but not intentional)
   modification attempts on archs that enforce
   read-only kernel data at runtime

 * potentially better optimized code as the compiler
   can assume that the const data cannot be changed

 * the compiler/linker move const data into .rodata
   and therefore exclude them from false sharing

Signed-off-by: Emese Revfy &lt;re.emese@gmail.com&gt;
Acked-by: David Teigland &lt;teigland@redhat.com&gt;
Acked-by: Matt Domsch &lt;Matt_Domsch@dell.com&gt;
Acked-by: Maciej Sosnowski &lt;maciej.sosnowski@intel.com&gt;
Acked-by: Hans J. Koch &lt;hjk@linutronix.de&gt;
Acked-by: Pekka Enberg &lt;penberg@cs.helsinki.fi&gt;
Acked-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Acked-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Btrfs: Fix checkpatch.pl warnings</title>
<updated>2009-01-06T02:25:51Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2009-01-06T02:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d397712bcc6a759a560fd247e6053ecae091f958'/>
<id>urn:sha1:d397712bcc6a759a560fd247e6053ecae091f958</id>
<content type='text'>
There were many, most are fixed now.  struct-funcs.c generates some warnings
but these are bogus.

Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: do not call kfree if kmalloc failed in btrfs_sysfs_add_super</title>
<updated>2009-01-05T20:43:42Z</updated>
<author>
<name>Shen Feng</name>
</author>
<published>2009-01-05T20:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd3fd8bdf7238f99561ee236060b04d5b9a84953'/>
<id>urn:sha1:dd3fd8bdf7238f99561ee236060b04d5b9a84953</id>
<content type='text'>
Signed-off-by: Shen Feng &lt;shen@cn.fujitsu.com&gt;

</content>
</entry>
<entry>
<title>Remove Btrfs compat code for older kernels</title>
<updated>2008-09-25T19:41:59Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2008-09-24T15:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12'/>
<id>urn:sha1:2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12</id>
<content type='text'>
Btrfs had compatibility code for kernels back to 2.6.18.  These have
been removed, and will be maintained in a separate backport
git tree from now on.

Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: trivial sparse fixes</title>
<updated>2008-09-25T15:04:07Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2008-09-05T20:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b214107eda845f9a5851ae198f5b972e0dc30c45'/>
<id>urn:sha1:b214107eda845f9a5851ae198f5b972e0dc30c45</id>
<content type='text'>
Fix a bunch of trivial sparse complaints.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: Disable sysfs files on older kernels</title>
<updated>2008-09-25T15:04:00Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2008-02-20T21:02:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55d474148982785dd8995dc690febad3a16a2c46'/>
<id>urn:sha1:55d474148982785dd8995dc690febad3a16a2c46</id>
<content type='text'>
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>btrfs: fixes for kobject changes in mainline</title>
<updated>2008-09-25T15:04:00Z</updated>
<author>
<name>Greg KH</name>
</author>
<published>2008-02-20T19:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3fe4e7120bc753552b071773022efcff704e34b'/>
<id>urn:sha1:e3fe4e7120bc753552b071773022efcff704e34b</id>
<content type='text'>
Here's a patch against the unstable tree that gets the code to build
against Linus's current tree (2.6.24-git12).  This is needed as the
kobject/kset api has changed there.

I tried to make the smallest changes needed, and it builds and loads
successfully, but I don't have a btrfs volume anywhere (yet) to try to
see if things still work properly :)

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: Back port to 2.6.18-el kernels</title>
<updated>2008-09-25T15:03:58Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2007-12-18T21:15:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6da6abae027e2dbc59bca5f4168b0760f25068c7'/>
<id>urn:sha1:6da6abae027e2dbc59bca5f4168b0760f25068c7</id>
<content type='text'>
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: sysfs compile fixup</title>
<updated>2008-09-25T15:03:57Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2007-10-19T13:23:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4a2a0edfda5a721bb4c5fa0068d2ad7ea67f98b'/>
<id>urn:sha1:b4a2a0edfda5a721bb4c5fa0068d2ad7ea67f98b</id>
<content type='text'>
Just use kobject_set_name(), that works in all kernels (I think...).
Kernels newer than 2.6.23 currently fail with:

/home/axboe/git/btrfs/btrfs-unstable/sysfs.c:188: error: unknown field
'name' specified in initializer

Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: Allow tree blocks larger than the page size</title>
<updated>2008-09-25T15:03:56Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2007-10-15T20:15:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db94535db75e67fab12ccbb7f5ee548e33fed891'/>
<id>urn:sha1:db94535db75e67fab12ccbb7f5ee548e33fed891</id>
<content type='text'>
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
</feed>
