commit | 3c0f0f5f58a785fa373fc38200d16feded0ceb5b | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Nov 25 12:06:14 2020 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 06 14:56:54 2021 +0100 |
tree | 8c0f65204535506a78b2a42d84939e3fc9ff7b41 | |
parent | 06ac2ca0989d6b60909abce0dc2b41c799a76d4c [diff] |
NFSv4: Fix a pNFS layout related use-after-free race when freeing the inode [ Upstream commit b6d49ecd1081740b6e632366428b960461f8158b ] When returning the layout in nfs4_evict_inode(), we need to ensure that the layout is actually done being freed before we can proceed to free the inode itself. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>