]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix open coded versions of nfs_set_cache_invalid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 8 Mar 2021 19:42:54 +0000 (14:42 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 8 Mar 2021 21:13:55 +0000 (16:13 -0500)
commit075aa68e561ff0d90d1019136507daf816e4ec76
tree5aee269e85430fcfe804d9de57033f33a5ca97f1
parentfc063c499215bcdf6e36b2e3a8883a4ede54e2f9
NFS: Fix open coded versions of nfs_set_cache_invalid()

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/dir.c
fs/nfs/inode.c
fs/nfs/unlink.c
fs/nfs/write.c