]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix open coded versions of nfs_set_cache_invalid() in NFSv4
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 8 Mar 2021 19:42:55 +0000 (14:42 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 8 Mar 2021 21:32:11 +0000 (16:32 -0500)
commitf14d0c2e0a401409f2d3f75a6a0656c22de1c7e4
treedce5dcdab7f056ef145b9977860313edb222a50b
parent1471e467ec237275bf75a920678ecbb56c295cf9
NFS: Fix open coded versions of nfs_set_cache_invalid() in NFSv4

nfs_set_cache_invalid() has code to handle delegations, and other
optimisations, so let's use it when appropriate.

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