]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Ensure we check stateid validity in the seqid operation checks
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 3 Nov 2017 12:00:15 +0000 (08:00 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 27 Nov 2017 21:45:10 +0000 (16:45 -0500)
commit72ac72f65d5f2596cfdc5c4b92d1cc323a7676a0
treefa80328c8ca89fb78e5a35ad2328566ebb3f14f1
parent07a9b8382c040309c3a233c32093a44441e13801
nfsd: Ensure we check stateid validity in the seqid operation checks

After taking the stateid st_mutex, we want to know that the stateid
still represents valid state before performing any non-idempotent
actions.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c