diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-04-01 20:04:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:14:41 +0300 |
commit | 1f39a7cc5d07a58c53f3054b177bad93c243d3f9 (patch) | |
tree | 2d10742db484c0a908e40befc849ca6c279cb222 /mm/kmemleak.c | |
parent | a8cc52270f3d8e8f4faf01ffd6c4a95bbfb55ba4 (diff) | |
download | linux-1f39a7cc5d07a58c53f3054b177bad93c243d3f9.tar.xz |
NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()
[ Upstream commit 08ca8b21f760c0ed5034a5c122092eec22ccf8f4 ]
When a subrequest is being detached from the subgroup, we want to
ensure that it is not holding the group lock, or in the process
of waiting for the group lock.
Fixes: 5b2b5187fa85 ("NFS: Fix nfs_page_group_destroy() and nfs_lock_and_join_requests() race cases")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions