<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/fs, branch v2.6.16</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.16</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.16'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-03-17T15:51:25Z</updated>
<entry>
<title>[PATCH] nfsservctl(): remove user-triggerable printk</title>
<updated>2006-03-17T15:51:25Z</updated>
<author>
<name>Peter Staubach</name>
<email>staubach@redhat.com</email>
</author>
<published>2006-03-17T07:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=85c6932ef0c7a82c309f8728ddf29768001d794e'/>
<id>urn:sha1:85c6932ef0c7a82c309f8728ddf29768001d794e</id>
<content type='text'>
A user can use nfsservctl() to spam the logs.

This can happen because the arguments to the nfsservctl() system call are
versioned.  This is a good thing.  However, when a bad version is detected,
the kernel prints a message and then returns an error.

Signed-off-by: Peter Staubach &lt;staubach@redhat.com&gt;
Cc: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Cc: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] v9fs: fix overzealous dropping of dentry which breaks dcache</title>
<updated>2006-03-17T15:51:25Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@hera.kernel.org</email>
</author>
<published>2006-03-17T07:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8532159f5521ba24e697f0d25970ae89ff62a1f2'/>
<id>urn:sha1:8532159f5521ba24e697f0d25970ae89ff62a1f2</id>
<content type='text'>
There is a d_drop in dir_release which caused problems as it invalidates
dcache entries too soon.  This was likely a part of the wierd cwd behavior
folks were seeing.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix ext2 readdir f_pos re-validation logic</title>
<updated>2006-03-16T00:31:51Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2006-03-15T21:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2d7f2ea9c989853310c7f6e8be52cc090cc8e66b'/>
<id>urn:sha1:2d7f2ea9c989853310c7f6e8be52cc090cc8e66b</id>
<content type='text'>
This fixes not one, but _two_, silly (but admittedly hard to hit) bugs
in the ext2 filesystem "readdir()" function.  It also cleans up the code
to avoid the unnecessary goto mess.

The bugs were related to re-valiating the f_pos value after somebody had
either done an "lseek()" on the directory to an invalid offset, or when
the offset had become invalid due to a file being unlinked in the
directory.  The code would not only set the f_version too eagerly, it
would also not update f_pos appropriately for when the offset fixup took
place.

When that happened, we'd occasionally subsequently fail the readdir()
even when we shouldn't (no real harm done, but an ugly printk, and
obviously you would end up not necessarily seeing all entries).

Thanks to Masoud Sharbiani &lt;masouds@google.com&gt; who noticed the problem
and had a test-case for it, and also fixed up a thinko in the first
version of this patch.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Acked-by: Masoud Sharbiani &lt;masouds@google.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fs/namespace.c:dup_namespace(): fix a use after free</title>
<updated>2006-03-15T17:37:34Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2006-03-15T16:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f13b83580acef03a36c785dccc534ccdd7e43084'/>
<id>urn:sha1:f13b83580acef03a36c785dccc534ccdd7e43084</id>
<content type='text'>
The Coverity checker spotted the following bug in dup_namespace():

&lt;--  snip  --&gt;

        if (!new_ns-&gt;root) {
                up_write(&amp;namespace_sem);
                kfree(new_ns);
                goto out;
        }
...
out:
        return new_ns;

&lt;--  snip  --&gt;

Callers expect a non-NULL result to not be freed.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] page migration: fail if page is in a vma flagged VM_LOCKED</title>
<updated>2006-03-15T05:43:02Z</updated>
<author>
<name>Christoph Lameter</name>
<email>clameter@engr.sgi.com</email>
</author>
<published>2006-03-15T03:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2'/>
<id>urn:sha1:4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2</id>
<content type='text'>
page migration currently simply retries a couple of times if try_to_unmap()
fails without inspecting the return code.

However, SWAP_FAIL indicates that the page is in a vma that has the
VM_LOCKED flag set (if ignore_refs ==1).  We can check for that return code
and avoid retrying the migration.

migrate_page_remove_references() now needs to return a reason why the
failure occured.  So switch migrate_page_remove_references to use -Exx
style error messages.

Signed-off-by: Christoph Lameter &lt;clameter@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Merge git://oss.sgi.com:8090/oss/git/rc-fixes</title>
<updated>2006-03-15T04:50:45Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-03-15T04:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0ee10a4423f6eb0702a71c1d1072bdfe42e4a1a7'/>
<id>urn:sha1:0ee10a4423f6eb0702a71c1d1072bdfe42e4a1a7</id>
<content type='text'>
* git://oss.sgi.com:8090/oss/git/rc-fixes:
  Fix a direct I/O locking issue revealed by the new mutex code.
</content>
</entry>
<entry>
<title>Fix a direct I/O locking issue revealed by the new mutex code.</title>
<updated>2006-03-15T04:14:45Z</updated>
<author>
<name>Nathan Scott</name>
<email>nathans@bruce</email>
</author>
<published>2006-03-15T04:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3fb962bde48c413bfa419ec4413037e87955dcb6'/>
<id>urn:sha1:3fb962bde48c413bfa419ec4413037e87955dcb6</id>
<content type='text'>
Affects only XFS (i.e. DIO_OWN_LOCKING case) - currently it is
not possible to get i_mutex locking correct when using DIO_OWN
direct I/O locking in a filesystem due to indeterminism in the
possible return code/lock/unlock combinations.  This can cause
a direct read to attempt a double i_mutex unlock inside XFS.

We're now ensuring __blockdev_direct_IO always exits with the
inode i_mutex (still) held for a direct reader.

Tested with the three different locking modes (via direct block
device access, ext3 and XFS) - both reading and writing; cannot
find any regressions resulting from this change, and it clearly
fixes the mutex_unlock warning originally reported here:
http://marc.theaimsgroup.com/?l=linux-kernel&amp;m=114189068126253&amp;w=2

Signed-off-by: Nathan Scott &lt;nathans@sgi.com&gt;
Acked-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] JFS: Take logsync lock before testing mp-&gt;lsn</title>
<updated>2006-03-14T22:00:48Z</updated>
<author>
<name>Dave Kleikamp</name>
<email>shaggy@austin.ibm.com</email>
</author>
<published>2006-03-14T19:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a488edc914aa1d766a4e2c982b5ae03d5657ec1b'/>
<id>urn:sha1:a488edc914aa1d766a4e2c982b5ae03d5657ec1b</id>
<content type='text'>
This fixes a race where lsn could be cleared before taking the lock

Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] NLM: Ensure we do not Oops in the case of an unlock</title>
<updated>2006-03-14T15:57:18Z</updated>
<author>
<name>Trond Myklebust</name>
<email>Trond.Myklebust@netapp.com</email>
</author>
<published>2006-03-14T05:20:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=30f4e20a0d3492668f5065af582b5af2d1e4256b'/>
<id>urn:sha1:30f4e20a0d3492668f5065af582b5af2d1e4256b</id>
<content type='text'>
In theory, NLM specs assure us that the server will only reply LCK_GRANTED or
LCK_DENIED_GRACE_PERIOD to our NLM_UNLOCK request.

In practice, we should not assume this to be the case, and the code will
currently Oops if we do.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] NFSv4: fix mount segfault on errors returned that are &lt; -1000</title>
<updated>2006-03-14T15:57:18Z</updated>
<author>
<name>Trond Myklebust</name>
<email>Trond.Myklebust@netapp.com</email>
</author>
<published>2006-03-14T05:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c12e87f4652b1ba3be168b4f63a440399b941928'/>
<id>urn:sha1:c12e87f4652b1ba3be168b4f63a440399b941928</id>
<content type='text'>
It turns out that nfs4_proc_get_root() may return raw NFSv4 errors instead of
mapping them to kernel errors.  Problem spotted by Neil Horman
&lt;nhorman@tuxdriver.com&gt;

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
