commit | 34002b9fe988ee54b6556b7bdbde4e7232df9929 | [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:17:52 2021 +0200 |
tree | ece06cc14f8c45f20f7aa8530dc1ade3a117f9c3 | |
parent | 5962368a970b978906f25c291251e4d27e5952fd [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>