<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/super.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>2012-05-07T15:53:18Z</updated>
<entry>
<title>nfs: Enclose hostname in brackets when needed in nfs_do_root_mount</title>
<updated>2012-05-07T15:53:18Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2011-09-02T23:09:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=429be997e91165e98ede2f64ff50984dddfb68f8'/>
<id>urn:sha1:429be997e91165e98ede2f64ff50984dddfb68f8</id>
<content type='text'>
commit 98a2139f4f4d7b5fcc3a54c7fddbe88612abed20 upstream.

When hostname contains colon (e.g. when it is an IPv6 address) it needs
to be enclosed in brackets to make parsing of NFS device string possible.
Fix nfs_do_root_mount() to enclose hostname properly when needed. NFS code
actually does not need this as it does not parse the string passed by
nfs_do_root_mount() but the device string is exposed to userspace in
/proc/mounts.

CC: Josh Boyer &lt;jwboyer@redhat.com&gt;
CC: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge branch 'nfs-for-3.3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs</title>
<updated>2012-01-10T22:57:40Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-01-10T22:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57eccf1c2acae2fcb748730881ba75643fc31c81'/>
<id>urn:sha1:57eccf1c2acae2fcb748730881ba75643fc31c81</id>
<content type='text'>
* 'nfs-for-3.3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
  NFSv4: Change the default setting of the nfs4_disable_idmapping parameter
  NFSv4: Save the owner/group name string when doing open
  NFS: Remove pNFS bloat from the generic write path
  pnfs-obj: Must return layout on IO error
  pnfs-obj: pNFS errors are communicated on iodata-&gt;pnfs_error
  NFS: Cache state owners after files are closed
  NFS: Clean up nfs4_find_state_owners_locked()
  NFSv4: include bitmap in nfsv4 get acl data
  nfs: fix a minor do_div portability issue
  NFSv4.1: cleanup comment and debug printk
  NFSv4.1: change nfs4_free_slot parameters for dynamic slots
  NFSv4.1: cleanup init and reset of session slot tables
  NFSv4.1: fix backchannel slotid off-by-one bug
  nfs: fix regression in handling of context= option in NFSv4
  NFS - fix recent breakage to NFS error handling.
  NFS: Retry mounting NFSROOT
  SUNRPC: Clean up the RPCSEC_GSS service ticket requests
</content>
</entry>
<entry>
<title>vfs: switch -&gt;show_options() to struct dentry *</title>
<updated>2012-01-07T04:19:54Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-12-09T02:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34c80b1d93e6e20ca9dea0baf583a5b5510d92d4'/>
<id>urn:sha1:34c80b1d93e6e20ca9dea0baf583a5b5510d92d4</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: switch -&gt;show_path() to struct dentry *</title>
<updated>2012-01-07T04:16:55Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-12-09T02:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6322de67b58a00e3a783ad9c87c2a11b2d67b47'/>
<id>urn:sha1:a6322de67b58a00e3a783ad9c87c2a11b2d67b47</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: switch -&gt;show_devname() to struct dentry *</title>
<updated>2012-01-07T04:16:54Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-12-09T02:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d861c630e99febe5ce6055290085556c5b714b06'/>
<id>urn:sha1:d861c630e99febe5ce6055290085556c5b714b06</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: switch -&gt;show_stats to struct dentry *</title>
<updated>2012-01-07T04:16:54Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-12-09T01:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64132379d509184425672e0dce1ac0a031e3f2a5'/>
<id>urn:sha1:64132379d509184425672e0dce1ac0a031e3f2a5</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>nfs: fix regression in handling of context= option in NFSv4</title>
<updated>2012-01-05T15:42:40Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2011-12-20T11:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a0d551a59ac92d8ff048d6cb29d3a02073e81e8'/>
<id>urn:sha1:8a0d551a59ac92d8ff048d6cb29d3a02073e81e8</id>
<content type='text'>
Setting the security context of a NFSv4 mount via the context= mount
option is currently broken. The NFSv4 codepath allocates a parsed
options struct, and then parses the mount options to fill it. It
eventually calls nfs4_remote_mount which calls security_init_mnt_opts.
That clobbers the lsm_opts struct that was populated earlier. This bug
also looks like it causes a small memory leak on each v4 mount where
context= is used.

Fix this by moving the initialization of the lsm_opts into
nfs_alloc_parsed_mount_data. Also, add a destructor for
nfs_parsed_mount_data to make it easier to free all of the allocations
hanging off of it, and to ensure that the security_free_mnt_opts is
called whenever security_init_mnt_opts is.

I believe this regression was introduced quite some time ago, probably
by commit c02d7adf.

Cc: stable@vger.kernel.org
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>make nfs_follow_remote_path() handle ERR_PTR() passed as root_mnt</title>
<updated>2012-01-04T03:52:39Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-11-17T02:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5352d3b65ae6f38e71e16f704414c1db4b4f7228'/>
<id>urn:sha1:5352d3b65ae6f38e71e16f704414c1db4b4f7228</id>
<content type='text'>
... rather than duplicating that in callers

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>btrfs, nfs, apparmor: don't pull mnt_namespace.h for no reason...</title>
<updated>2012-01-04T03:52:38Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-11-25T01:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e407699ef56ed948739dd57a5578ba8cb5bd81b2'/>
<id>urn:sha1:e407699ef56ed948739dd57a5578ba8cb5bd81b2</id>
<content type='text'>
it's not needed anymore; we used to, back when we had to do
mount_subtree() by hand, complete with put_mnt_ns() in it.
No more...  Apparmor didn't need it since the __d_path() fix.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>new helper: mount_subtree()</title>
<updated>2011-11-17T03:00:34Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-11-17T02:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea441d1104cf1efb471fa81bc91e9fd1e6ae29fd'/>
<id>urn:sha1:ea441d1104cf1efb471fa81bc91e9fd1e6ae29fd</id>
<content type='text'>
takes vfsmount and relative path, does lookup within that vfsmount
(possibly triggering automounts) and returns the result as root
of subtree suitable for return by -&gt;mount() (i.e. a reference to
dentry and an active reference to its superblock grabbed, superblock
locked exclusive).

btrfs and nfs switched to it instead of open-coding the sucker.

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