commit | 89786fbc4d1ecea4fe295d9a140d3fc2ff072fe7 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Tue May 11 23:41:10 2021 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 20 16:05:48 2021 +0200 |
tree | a62cdd2c7c1c182ea8ba95072cb9f55be3795ad7 | |
parent | 0fedfa72aedc6cf1950da2b767cdf0e77e1116f7 [diff] |
NFS: nfs_find_open_context() may only select open files [ Upstream commit e97bc66377bca097e1f3349ca18ca17f202ff659 ] If a file has already been closed, then it should not be selected to support further I/O. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> [Trond: Fix an invalid pointer deref reported by Colin Ian King] Signed-off-by: Sasha Levin <sashal@kernel.org>