]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix attribute revalidation
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 3 Jun 2018 15:56:05 +0000 (11:56 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jun 2018 19:03:58 +0000 (15:03 -0400)
commit7b4eb9b26aa027c67321b535e85dbc659d520fcb
tree21b1374c3cf7fb00a1839d1badc176e25bfb8c52
parentd0fa566298056b9ecb8728b22dc3d37a58f10300
NFS: Fix attribute revalidation

Don't mark attributes as invalid just because they have changed. Instead,
for the purposes of adjusting the attribute cache timeout, keep a
separate variable that tracks whether or not a change occurred.

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