NFS: Only look at the change attribute cache state in nfs_weak_revalidate()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 16 Dec 2016 23:04:47 +0000 (18:04 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:37 +0000 (17:29 -0500)
commit9cdd1d3f1a8cea9cfe7953f45fae9ff51c37afa3
treea3fe9caca162847df991c3557ad708254cceff33
parent61540bf6bb40ddfa3e766de91cedca2e1afd24eb
NFS: Only look at the change attribute cache state in nfs_weak_revalidate()

Just like in nfs_check_verifier(), we want to use
nfs_mapping_need_revalidate_inode() to check our knowledge of the
change attribute is up to date.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c