NFS: Fix attribute cache revalidation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 29 Dec 2015 23:55:19 +0000 (18:55 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Dec 2015 15:18:26 +0000 (10:18 -0500)
commitade14a7df796d4e86bd9d181193c883a57b13db0
tree581a00d3e9f1355c496bd132ef2a84675ca9d0e8
parent5c5fc09a1157a11dbe84e6421c3e0b37d05238cb
NFS: Fix attribute cache revalidation

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>
fs/nfs/inode.c