]> git.hungrycats.org Git - linux/commit
Revert "NFSv4: Remove incorrect check in can_open_delegated()"
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 19 Aug 2015 05:14:20 +0000 (00:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:33:30 +0000 (19:33 +0200)
commitcb54eac659b31fc9811d0e6cb50f11cb6db34a14
treef016e0401e267c95ed442eab4cd7b8a21357a830
parenta0333fde72d674023280e44c088192f25425f34b
Revert "NFSv4: Remove incorrect check in can_open_delegated()"

commit 36319608e28701c07cad80ae3be8b0fdfb1ab40f upstream.

This reverts commit 4e379d36c050b0117b5d10048be63a44f5036115.

This commit opens up a race between the recovery code and the open code.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c