<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ext3/xattr.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-08-09T20:48:45Z</updated>
<entry>
<title>mbcache: Remove unused features</title>
<updated>2010-08-09T20:48:45Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2010-07-19T16:19:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2aec7c523291621ebb68ba8e0bd9b52a26bb76ee'/>
<id>urn:sha1:2aec7c523291621ebb68ba8e0bd9b52a26bb76ee</id>
<content type='text'>
The mbcache code was written to support a variable number of indexes,
but all the existing users use exactly one index.  Simplify to code to
support only that case.

There are also no users of the cache entry free operation, and none of
the users keep extra data in cache entries.  Remove those features as
well.

Signed-off-by: Andreas Gruenbacher &lt;agruen@suse.de&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ext3: constify xattr handlers</title>
<updated>2010-05-21T22:31:19Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2010-05-14T00:53:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1f21049f9185e589849051d94c9a50151c6a7dc'/>
<id>urn:sha1:d1f21049f9185e589849051d94c9a50151c6a7dc</id>
<content type='text'>
Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>dquot: cleanup space allocation / freeing routines</title>
<updated>2010-03-04T23:20:28Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-03-03T14:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5dd4056db84387975140ff2568eaa0406f07985e'/>
<id>urn:sha1:5dd4056db84387975140ff2568eaa0406f07985e</id>
<content type='text'>
Get rid of the alloc_space, free_space, reserve_space, claim_space and
release_rsv dquot operations - they are always called from the filesystem
and if a filesystem really needs their own (which none currently does)
it can just call into it's own routine directly.

Move shared logic into the common __dquot_alloc_space,
dquot_claim_space_nodirty and __dquot_free_space low-level methods,
and rationalize the wrappers around it to move as much as possible
code into the common block for CONFIG_QUOTA vs not.  Also rename
all these helpers to be named dquot_* instead of vfs_dq_*.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>ext3: Use bitops to read/modify EXT3_I(inode)-&gt;i_state</title>
<updated>2010-03-04T23:20:20Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2010-01-06T20:58:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9df93939b735dd273e49cbee290b9f4738500ef4'/>
<id>urn:sha1:9df93939b735dd273e49cbee290b9f4738500ef4</id>
<content type='text'>
At several places we modify EXT3_I(inode)-&gt;i_state without holding i_mutex
(ext3_release_file, ext3_bmap, ext3_journalled_writepage, ext3_do_update_inode,
...). These modifications are racy and we can lose updates to i_state. So
convert handling of i_state to use bitops which are atomic.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>sanitize xattr handler prototypes</title>
<updated>2009-12-16T17:16:49Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2009-11-13T09:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=431547b3c4533b8c7fd150ab36980b9a3147797b'/>
<id>urn:sha1:431547b3c4533b8c7fd150ab36980b9a3147797b</id>
<content type='text'>
Add a flags argument to struct xattr_handler and pass it to all xattr
handler methods.  This allows using the same methods for multiple
handlers, e.g. for the ACL methods which perform exactly the same action
for the access and default ACLs, just using a different underlying
attribute.  With a little more groundwork it'll also allow sharing the
methods for the regular user/trusted/secure handlers in extN, ocfs2 and
jffs2 like it's already done for xfs in this patch.

Also change the inode argument to the handlers to a dentry to allow
using the handlers mechnism for filesystems that require it later,
e.g. cifs.

[with GFS2 bits updated by Steven Whitehouse &lt;swhiteho@redhat.com&gt;]

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: James Morris &lt;jmorris@namei.org&gt;
Acked-by: Joel Becker &lt;joel.becker@oracle.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ext3: journal all modifications in ext3_xattr_set_handle</title>
<updated>2009-12-10T14:02:52Z</updated>
<author>
<name>Eric Sandeen</name>
</author>
<published>2009-11-16T22:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d965736b8cb42ae51ba9c3f13488035a98d025c6'/>
<id>urn:sha1:d965736b8cb42ae51ba9c3f13488035a98d025c6</id>
<content type='text'>
ext3_xattr_set_handle() was zeroing out an inode outside
of journaling constraints; this is one of the accesses that
was causing the crc errors in journal replay as seen in
kernel.org bugzilla #14354.

Although ext3 doesn't have the crc issue, modifications
out of journal control are a Bad Thing.

Signed-off-by: Eric Sandeen &lt;sandeen@redhat.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>ext3: remove -&gt;write_super and stop maintaining -&gt;s_dirt</title>
<updated>2009-06-12T01:36:05Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2009-04-27T13:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca41f7b918294c2a17780e057568413dcbfc6d49'/>
<id>urn:sha1:ca41f7b918294c2a17780e057568413dcbfc6d49</id>
<content type='text'>
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ext3: Use lowercase names of quota functions</title>
<updated>2009-03-26T01:18:36Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2009-01-26T15:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=81a052273998f94b098945c4c313e05246956eb2'/>
<id>urn:sha1:81a052273998f94b098945c4c313e05246956eb2</id>
<content type='text'>
Use lowercase names of quota functions instead of old uppercase ones.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
CC: linux-ext4@vger.kernel.org
</content>
</entry>
<entry>
<title>ext3/4: fix uninitialized bs in ext3/4_xattr_set_handle()</title>
<updated>2008-05-15T02:11:14Z</updated>
<author>
<name>Tiger Yang</name>
</author>
<published>2008-05-14T23:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e01c8e5420b6c7f9d85d34c15d8c7a15c9fc720'/>
<id>urn:sha1:7e01c8e5420b6c7f9d85d34c15d8c7a15c9fc720</id>
<content type='text'>
This fix the uninitialized bs when we try to replace a xattr entry in
ibody with the new value which require more than free space.

This situation only happens we format ext3/4 with inode size more than 128 and
we have put xattr entries both in ibody and block.  The consequences about
this bug is we will lost the xattr block which pointed by i_file_acl with all
xattr entires in it.  We will alloc a new xattr block and put that large value
entry in it.  The old xattr block will become orphan block.

Signed-off-by: Tiger Yang &lt;tiger.yang@oracle.com&gt;
Cc: &lt;linux-ext4@vger.kernel.org&gt;
Cc: Andreas Gruenbacher &lt;agruen@suse.de&gt;
Acked-by: Andreas Dilger &lt;adilger@sun.com&gt;
Cc: &lt;stable@kernel.org&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>ext3: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-28T15:58:45Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2008-04-28T09:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e05b6b524bd5c5c2bae1b64a7cbe08d46d57a6fe'/>
<id>urn:sha1:e05b6b524bd5c5c2bae1b64a7cbe08d46d57a6fe</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: &lt;linux-ext4@vger.kernel.org&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>
</feed>
