OSDN Git Service

NFS: Clean up process of marking inode stale.
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 6 Apr 2020 17:39:29 +0000 (13:39 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 6 Apr 2020 17:56:33 +0000 (13:56 -0400)
commit93ce4af774bc3d8a72ce2271d03241c96383629d
treeda860178b1a7f7104197f040e77c9d96efc403a1
parent1fab7dc477241c12f977955aa6baea7938b6f08d
NFS: Clean up process of marking inode stale.

Instead of the various open coded calls to set the NFS_INO_STALE bit
and call nfs_zap_caches(), consolidate them into a single function
nfs_set_inode_stale().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c
fs/nfs/inode.c
fs/nfs/nfstrace.h
fs/nfs/read.c
include/linux/nfs_fs.h