NFS: Always use the open stateid when checking for expired opens
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 26 Sep 2012 19:25:53 +0000 (15:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:17:17 +0000 (15:17 -0700)
commitfcb6d9c6b719b633e9b98d26d8a7937209e8bf21
tree09a1aee073057d0f06ab94dc59c8b7b8963f1e4d
parent9b96ce71974127af0304514d310abe596426c112
NFS: Always use the open stateid when checking for expired opens

If we are reading through a delegation, and the delegation is OK then
state->stateid will still point to a delegation stateid and not an open
stateid.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c