]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Don't test open_stateid unless it is set
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:16 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:11 +0000 (14:35 -0400)
commitbaa9529d42ded7ac046de51dadc1127f9edf01b6
treea87f84b9bf884d2e14030f791d3f879fea43051f
parentf39ac201a159a2dd801e41abecaf80b9a58133fa
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