NFS: Remove unnecessary XATTR cache invalidation in nfs_fhget()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 23 Feb 2022 20:46:20 +0000 (15:46 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Feb 2022 23:50:13 +0000 (18:50 -0500)
commitf1ec501d08b78fd52e56124519e3e6cdecbfc16f
treec83aa508b77688f63255e7bc03716567a985b3d9
parentb622ffe1d9ecbac71f0cddb52ff0831efdf8fb83
NFS: Remove unnecessary XATTR cache invalidation in nfs_fhget()

We should never expect the 'xattr_cache' to be non-null in that case,
hence nfs_set_cache_invalid() is just going to optimise it away.

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