<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/namespace.c, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-07-12T17:40:27Z</updated>
<entry>
<title>NFS: Add SECINFO_NO_NAME procedure</title>
<updated>2011-07-12T17:40:27Z</updated>
<author>
<name>Bryan Schumaker</name>
</author>
<published>2011-06-02T18:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fca78d6d2c77f87d7dbee89bbe4836a44da881e2'/>
<id>urn:sha1:fca78d6d2c77f87d7dbee89bbe4836a44da881e2</id>
<content type='text'>
If the client is using NFS v4.1, then we can use SECINFO_NO_NAME to find
the secflavor for the initial mount.  If the server doesn't support
SECINFO_NO_NAME then I fall back on the "guess and check" method used
for v4.0 mounts.

Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Remove unused argument from nfs_find_best_sec()</title>
<updated>2011-04-12T23:34:23Z</updated>
<author>
<name>Bryan Schumaker</name>
</author>
<published>2011-04-12T12:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=561f0b0ad073859a87d22845ddfd9df149b22e5f'/>
<id>urn:sha1:561f0b0ad073859a87d22845ddfd9df149b22e5f</id>
<content type='text'>
The inode was used in an earlier version of the code, but it isn't
used anymore.

Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fix a signed vs. unsigned secinfo bug</title>
<updated>2011-04-06T20:25:04Z</updated>
<author>
<name>Bryan Schumaker</name>
</author>
<published>2011-04-06T18:33:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=418875900e3de4831c84f86ae4756690dac5be77'/>
<id>urn:sha1:418875900e3de4831c84f86ae4756690dac5be77</id>
<content type='text'>
rpc_authflavor_t is cast from an unsigned int, but the
initial code tried to use it as a signed int.  I fix
this by passing an rpc_authflavor_t pointer around, and
returning signed integers from functions.

Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt;
Reported-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Don't leak RPC clients in NFSv4 secinfo negotiation</title>
<updated>2011-03-27T15:48:17Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2011-03-26T06:24:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0e7e3cf7932d6c77de0dc79a40dbaeb8060b544'/>
<id>urn:sha1:a0e7e3cf7932d6c77de0dc79a40dbaeb8060b544</id>
<content type='text'>
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: use secinfo when crossing mountpoints</title>
<updated>2011-03-24T17:52:42Z</updated>
<author>
<name>Bryan Schumaker</name>
</author>
<published>2011-03-24T17:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ebb931598cd95cccea10d4bc4c0123a464ea565'/>
<id>urn:sha1:7ebb931598cd95cccea10d4bc4c0123a464ea565</id>
<content type='text'>
A submount may use different security than the parent
mount does.  We should figure out what sec flavor the
submount uses at mount time.

Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: lookup supports alternate client</title>
<updated>2011-03-24T17:52:41Z</updated>
<author>
<name>Bryan Schumaker</name>
</author>
<published>2011-03-24T17:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c5130588d691a3b34d02312f1bd1b6d56fe0100'/>
<id>urn:sha1:7c5130588d691a3b34d02312f1bd1b6d56fe0100</id>
<content type='text'>
A later patch will need to perform a lookup using an
alternate client with a different security flavor.
This patch adds support for doing that on NFS v4.

Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>nfs: lock() vs unlock() typo</title>
<updated>2011-03-21T04:45:50Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-03-20T11:22:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c34092adf1feaba25b7c739cc4def2751f4fa05'/>
<id>urn:sha1:1c34092adf1feaba25b7c739cc4def2751f4fa05</id>
<content type='text'>
These should be spin_unlock() instead of spin_lock().  It's a typo.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>nfs: nfs_do_{ref,sub}mount() superblock argument is redundant</title>
<updated>2011-03-16T20:48:06Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-03-16T10:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8ad9c4bae99854c961ca79ed130a0d11d9ab53c'/>
<id>urn:sha1:f8ad9c4bae99854c961ca79ed130a0d11d9ab53c</id>
<content type='text'>
It's always equal to dentry-&gt;d_sb

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>nfs: make nfs_path() work without vfsmount</title>
<updated>2011-03-16T20:47:55Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-03-16T10:26:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b514f872f86d4b0c13fed74a1fe1f7ab500c4fd0'/>
<id>urn:sha1:b514f872f86d4b0c13fed74a1fe1f7ab500c4fd0</id>
<content type='text'>
part 3: now we have everything to get nfs_path() just by dentry -
just follow to (disconnected) root and pick the rest of the thing
there.

Start killing propagation of struct vfsmount * on the paths that
used to bring it to nfs_path().

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Unexport do_add_mount() and add in follow_automount(), not -&gt;d_automount()</title>
<updated>2011-01-16T01:07:48Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2011-01-14T19:10:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea5b778a8b98c85a87d66bf844904f9c3802b869'/>
<id>urn:sha1:ea5b778a8b98c85a87d66bf844904f9c3802b869</id>
<content type='text'>
Unexport do_add_mount() and make -&gt;d_automount() return the vfsmount to be
added rather than calling do_add_mount() itself.  follow_automount() will then
do the addition.

This slightly complicates things as -&gt;d_automount() normally wants to add the
new vfsmount to an expiration list and start an expiration timer.  The problem
with that is that the vfsmount will be deleted if it has a refcount of 1 and
the timer will not repeat if the expiration list is empty.

To this end, we require the vfsmount to be returned from d_automount() with a
refcount of (at least) 2.  One of these refs will be dropped unconditionally.
In addition, follow_automount() must get a 3rd ref around the call to
do_add_mount() lest it eat a ref and return an error, leaving the mount we
have open to being expired as we would otherwise have only 1 ref on it.

d_automount() should also add the the vfsmount to the expiration list (by
calling mnt_set_expiry()) and start the expiration timer before returning, if
this mechanism is to be used.  The vfsmount will be unlinked from the
expiration list by follow_automount() if do_add_mount() fails.

This patch also fixes the call to do_add_mount() for AFS to propagate the mount
flags from the parent vfsmount.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
