commit | fc51b1cf391dd91ff9362861ed226ef51048e863 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Apr 02 15:27:09 2020 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Fri Apr 03 18:26:02 2020 -0400 |
tree | 4b71836ccd7b74efcd72964427ab95389654e953 | |
parent | f30a6ea0f3a582cea72b0373612d4b38f383fbd9 [diff] |
NFS: Beware when dereferencing the delegation cred When we look up the delegation cred, we are usually doing so in conjunction with a read of the stateid, and we want to ensure that the look up is atomic with that read. Fixes: 57f188e04773 ("NFSv4: nfs_update_inplace_delegation() should update delegation cred") [sfr@canb.auug.org.au: Fixed up borken Fixes: line from Trond :-)] Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>