]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix a race when updating an open_stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:13 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:00 +0000 (14:35 -0400)
commit0398eb6fb7baf8c6bf4b8c22bf5fa5986260889c
treeac86090ed9e1071285e875ecc16503c5c3fe62fc
parent3eb39166fc31fb2ad01b689baecd196ebba9fffd
NFSv4: Fix a race when updating an open_stateid

If we're replacing an old stateid which has a different 'other' field,
then we probably need to free the old stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c