<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/client.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-06-16T09:34:53Z</updated>
<entry>
<title>NFS: Fix a potential NULL dereference in nfs_get_client()</title>
<updated>2021-06-16T09:34:53Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2021-06-03T12:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fab8bfdfb4aac9e4e8363666333adfdf21e89106'/>
<id>urn:sha1:fab8bfdfb4aac9e4e8363666333adfdf21e89106</id>
<content type='text'>
[ Upstream commit 09226e8303beeec10f2ff844d2e46d1371dc58e0 ]

None of the callers are expecting NULL returns from nfs_get_client() so
this code will lead to an Oops.  It's better to return an error
pointer.  I expect that this is dead code so hopefully no one is
affected.

Fixes: 31434f496abb ("nfs: check hostname in nfs_get_client")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>nfs: get clone_blksize when probing fsinfo</title>
<updated>2015-10-15T20:08:18Z</updated>
<author>
<name>Peng Tao</name>
</author>
<published>2015-09-25T18:24:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a92ee92d4545448066fb664674c0ae5a9d5ea99'/>
<id>urn:sha1:2a92ee92d4545448066fb664674c0ae5a9d5ea99</id>
<content type='text'>
NFSv42 CLONE operation is supposed to respect it.

Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Use RPC functions for matching sockaddrs</title>
<updated>2015-08-17T18:29:51Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2015-07-13T18:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8efa4e62505f5113e363572b5438b7be0d08b12'/>
<id>urn:sha1:d8efa4e62505f5113e363572b5438b7be0d08b12</id>
<content type='text'>
They already exist and do the exact same thing.  Let's save ourselves
several lines of code!

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Remove the "NFS_CAP_CHANGE_ATTR" capability</title>
<updated>2015-07-22T21:15:54Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2015-07-05T15:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd812599796f500b042f5464b6665755eca21137'/>
<id>urn:sha1:cd812599796f500b042f5464b6665755eca21137</id>
<content type='text'>
Setting the change attribute has been mandatory for all NFS versions, since
commit 3a1556e8662c ("NFSv2/v3: Simulate the change attribute"). We should
therefore not have anything be conditional on it being set/unset.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>nfs: Use remove_proc_subtree() instead remove_proc_entry()</title>
<updated>2015-07-01T15:29:41Z</updated>
<author>
<name>Kinglong Mee</name>
</author>
<published>2015-07-01T15:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a062a3687c20b80362b04e1ae7c9772d511977d'/>
<id>urn:sha1:6a062a3687c20b80362b04e1ae7c9772d511977d</id>
<content type='text'>
Thanks for Al Viro's comments of killing proc_fs_nfs completely.

Signed-off-by: Kinglong Mee &lt;kinglongmee@gmail.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>nfs: Remove unused argument in nfs_server_set_fsinfo()</title>
<updated>2015-07-01T15:29:10Z</updated>
<author>
<name>Kinglong Mee</name>
</author>
<published>2015-07-01T03:55:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71f81e51ee0dc6d523a5229096c32eca2ab58bbb'/>
<id>urn:sha1:71f81e51ee0dc6d523a5229096c32eca2ab58bbb</id>
<content type='text'>
Commit e38eb6506f "NFS: set_pnfs_layoutdriver() from nfs4_proc_fsinfo()"
have remove the using of mntfh from nfs_server_set_fsinfo().

Signed-off-by: Kinglong Mee &lt;kinglongmee@gmail.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>nfs: Fix showing truncated fsid/dev in, /proc/net/nfsfs/volumes</title>
<updated>2015-06-16T15:17:37Z</updated>
<author>
<name>Kinglong Mee</name>
</author>
<published>2015-06-13T02:07:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df05a49f7204d81ba0e29fda3d56ccb730f05d87'/>
<id>urn:sha1:df05a49f7204d81ba0e29fda3d56ccb730f05d87</id>
<content type='text'>
A truncated fsid showing from /proc/fs/nfsfs/volumes as,
NV SERVER   PORT DEV     FSID              FSC
v4 c0a80881  801 0:43    34931f044c2a439b  no

It should be as,
NV SERVER   PORT DEV          FSID                              FSC
v4 c0a80881  801 0:43         34931f044c2a439b:954c5d830fa4be8c no

The max buffer length for storing "%llx:%llx" format should be
 16 + 1 + 16 + 1 = 34 (16 for %llx, 1 for ':', 1 for '\0').

Also, for storing "%u:%u" of MAJOR() and MINOR() should be
 8 + 1 + 3 + 1 = 13 (8 for 2^24, 1 for ':', 3 for 2^8, 1 for '\0').

v2, add comments for dev/fsid buffer and use sizeof in snprintf.

Signed-off-by: Kinglong Mee &lt;kinglongmee@gmail.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Remove CONFIG_NFS_V4 checks from nfs_idmap.h</title>
<updated>2015-04-23T19:16:13Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2015-04-15T17:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9ebd61855253078fe8b07bacaf516337f8078e8'/>
<id>urn:sha1:f9ebd61855253078fe8b07bacaf516337f8078e8</id>
<content type='text'>
The idmapper is completely internal to the NFS v4 module, so this macro
will always evaluate to true.  This patch also removes unnecessary
includes of this file from the generic NFS client.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFSv4: Fix a race in NFSv4.1 server trunking discovery</title>
<updated>2015-03-04T01:42:23Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2015-03-04T01:28:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48d66b9749e39e0d4cc37d635df3f18906af38a6'/>
<id>urn:sha1:48d66b9749e39e0d4cc37d635df3f18906af38a6</id>
<content type='text'>
We do not want to allow a race with another NFS mount to cause
nfs41_walk_client_list() to establish a lease on our nfs_client before
we're done checking for trunking.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bugfixes' into linux-next</title>
<updated>2014-09-30T21:21:41Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2014-09-30T21:21:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72c23f0819977d37924af92a42a9b7fbfd1c95d8'/>
<id>urn:sha1:72c23f0819977d37924af92a42a9b7fbfd1c95d8</id>
<content type='text'>
* bugfixes:
  NFSv4.1: Fix an NFSv4.1 state renewal regression
  NFSv4: fix open/lock state recovery error handling
  NFSv4: Fix lock recovery when CREATE_SESSION/SETCLIENTID_CONFIRM fails
  NFS: Fabricate fscache server index key correctly
  SUNRPC: Add missing support for RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT
  nfs: fix duplicate proc entries
</content>
</entry>
</feed>
