diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-22 13:38:52 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-27 14:31:52 -0400 |
commit | 7dc72d5f7a0ec97a53e126c46e2cbd2560757955 (patch) | |
tree | 156b815db4fd3d78958bb3754a57855e02984c11 /mm/usercopy.c | |
parent | 0a014a44a50839a8064618e959fae5bbc44c2fd5 (diff) |
NFS: Fix inode corruption in nfs_prime_dcache()
Due to inode number reuse in filesystems, we can end up corrupting the
inode on our client if we apply the file attributes without ensuring that
the filehandle matches.
Typical symptoms include spurious "mode changed" reports in the syslog.
We still do want to ensure that we don't invalidate the dentry if the
inode number matches, but we don't have a filehandle.
Fixes: fa9233699cc1 ("NFS: Don't require a filehandle to refresh...")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v4.0+
Tested-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions