]> 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)
commit63a8791cb4618526ad91c3790dc7ff969d11e1ed
treeac86090ed9e1071285e875ecc16503c5c3fe62fc
parentc6e0cfbdb46cfa94d1410fa15a1d350ac8b9dab6
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