]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb35c84447f26a1e8d1181784748acf8f6a38c0d
tree9999ba6a0491bf3a3ee7a71540a5aa70e0d37a2d
parent39538a7974653c9c4dc1b0ba32ef7aab2618fb83
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