]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe375c095f84c96ffab023154481cb9165dd7acc
treed77e08786a7816a6972082eccd76bb037f4996b1
parent0d0ebdf6c26a367934e0d376317a7eb24bcf88f3
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