Skip to content
Commit 4f14c194 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Clear the open state flags if the new stateid does not match



RFC3530 and RFC5661 both prescribe that the 'opaque' field of the
open stateid returned by new OPEN/OPEN_DOWNGRADE/CLOSE calls for
the same file and open owner should match.
If this is not the case, assume that the open state has been lost,
and that we need to recover it.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 226056c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment