commit | 27a30cf64a5cbe2105e4ff9613246b32d584766a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Jul 22 18:32:59 2019 +0100 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Aug 04 22:35:40 2019 -0400 |
tree | 8c0848c76646122d4b3eec45653a6c3f47c319df | |
parent | 731c74dd987e4f1f3179223314c039ce38dd4f19 [diff] |
NFSv4.1: Fix open stateid recovery The logic for checking in nfs41_check_open_stateid() whether the state is supported by a delegation is inverted. In addition, it makes more sense to perform that check before we check for expired locks. Fixes: 8a64c4ef106d1 ("NFSv4.1: Even if the stateid is OK,...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>