NFSv4: Don't test open_stateid unless it is set
commitb134fc4a533300402514154fcb0a661ddf106dd9
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:16 +0000 (22 13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:11 +0000 (27 14:35 -0400)
treea87f84b9bf884d2e14030f791d3f879fea43051f
parent272289a3df7297fd798a8ddf652c6d29f675de28
NFSv4: Don't test open_stateid unless it is set

We need to test the NFS_OPEN_STATE flag for whether or not the
open_stateid is valid.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c