NFSv4: Ensure the LOCK call cannot use the delegation stateid
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Apr 2013 05:30:53 +0000 (01:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Apr 2013 05:39:54 +0000 (01:39 -0400)
commit8e472f33b5ba742f9bfcf16f0328f5a7842b32d1
tree9999ba6a0491bf3a3ee7a71540a5aa70e0d37a2d
parent92b40e93849e29f9ca661de6442bb66282738bf7
NFSv4: Ensure the LOCK call cannot use the delegation stateid

Defensive patch to ensure that we copy the state->open_stateid, which
can never be set to the delegation stateid.

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