]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e1704bef65ac07f70e9f7c981f493b47ad92cf7
tree581a00d3e9f1355c496bd132ef2a84675ca9d0e8
parentb86a93909489e2edd3976bd2c6564881e98f3fa1
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