]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFS: Fix attribute cache revalidation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 29 Dec 2015 23:55:19 +0000 (18:55 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:43:44 +0000 (15:43 -0700)
commitcc24569cde44bb3c75badd0c197fc8cf3f257382
treec4ebb9c87409b287e2859102a639b805b2297aae
parent57012647605c95e96bb4d69482ee8bf884d0a61d
NFS: Fix attribute cache revalidation

Orabug: 23330606

[ Upstream commit ade14a7df796d4e86bd9d181193c883a57b13db0 ]

If a NFSv4 client uses the cache_consistency_bitmask in order to
request only information about the change attribute, timestamps and
size, then it has not revalidated all attributes, and hence the
attribute timeout timestamp should not be updated.

Reported-by: Donald Buczek <buczek@molgen.mpg.de>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit 8572f2fa313c47750609178b20caf0598fd1042a)

Conflict:

fs/nfs/inode.c
fs/nfs/inode.c