NFSv4: Don't call close if the open stateid has already been cleared
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 14 Nov 2016 16:19:56 +0000 (11:19 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 18 Nov 2016 19:18:02 +0000 (14:18 -0500)
commit5cc7861eb5b425c7a30ff7676a4b9d0ca62d5c76
tree96ed40b36a68de96b846579f13c44293c7aef918
parent3e7dfb1659c2888fc0152ec2b02a5e932397bb0a
NFSv4: Don't call close if the open stateid has already been cleared

Ensure we test to see if the open stateid is actually set, before we
send a CLOSE.

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