NFS: Fix incorrect mapping revalidation when holding a delegation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 4 Dec 2016 21:02:43 +0000 (16:02 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 4 Dec 2016 21:50:09 +0000 (16:50 -0500)
commit10727772b93cc80c859b2e45bb32976d79b21990
treed77e08786a7816a6972082eccd76bb037f4996b1
parent230bc962a6ffef8b15ac1fd2664ae9d4b56a64a6
NFS: Fix incorrect mapping revalidation when holding a delegation

We should only care about checking the attributes if the page cache
is marked as dubious (using NFS_INO_REVAL_PAGECACHE) and the
NFS_INO_REVAL_FORCED flag is set.

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