NFS: simplify check for freeing cn_resp
authorTom Rix <trix@redhat.com>
Mon, 17 Jan 2022 17:50:10 +0000 (09:50 -0800)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Feb 2022 20:07:07 +0000 (15:07 -0500)
commit98c27f276be85a73f0babc61c9f8128b7ef593c6
tree139677122e5b882e3d72c78e8882b2fa5e6d84b8
parent53ab78cd6d5aba25575a7cfb95729336ba9497d8
NFS: simplify check for freeing cn_resp

nfs42_files_from_same_server() is called to check if freeing
cn_resp is required, just do the free.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4file.c