aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2020-02-02 17:53:54 -0500
committerAnna Schumaker <[email protected]>2020-02-03 16:37:17 -0500
commit114de38225d9b300f027e2aec9afbb6e0def154b (patch)
tree91e89fd40ee60c54284a0bdfe56e56aeeb68db4e /lib/mpi/mpi-mul.c
parent4b310319c6a8ce708f1033d57145e2aa027a883c (diff)
NFS: Directory page cache pages need to be locked when read
When a NFS directory page cache page is removed from the page cache, its contents are freed through a call to nfs_readdir_clear_array(). To prevent the removal of the page cache entry until after we've finished reading it, we must take the page lock. Fixes: 11de3b11e08c ("NFS: Fix a memory leak in nfs_readdir") Cc: [email protected] # v2.6.37+ Signed-off-by: Trond Myklebust <[email protected]> Reviewed-by: Benjamin Coddington <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions