]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Ignore the directory size when marking for revalidation
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 28 Sep 2021 15:24:57 +0000 (11:24 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Oct 2021 00:49:06 +0000 (20:49 -0400)
commitd77f4a47e7298403c4a7be737920e61f4d4dc048
treeca7433761522c8da259fa2a5a8340f7e11e57587
parent301da8446388a5a86e2248478bfc506f74cb50d0
NFS: Ignore the directory size when marking for revalidation

If we want to revalidate the directory, then just mark the change
attribute as invalid.

Fixes: 1e0889cbfd3e ("NFS: Replace use of NFS_INO_REVAL_PAGECACHE when checking cache validity")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
fs/nfs/dir.c