diff options
| author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-02-08 11:29:46 -0500 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-02-08 17:02:47 -0500 |
| commit | a974deee477af89411e0f80456bfb344ac433c98 (patch) | |
| tree | 61016d00a0e22db3e3f662f54d603dbd079906c6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | sunrpc: use simple_read_from_buffer for reading cache flush (diff) | |
| download | linux-a974deee477af89411e0f80456bfb344ac433c98.tar.gz linux-a974deee477af89411e0f80456bfb344ac433c98.zip | |
NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
If we exit because the file access check failed, we currently
leak the struct nfs4_state. We need to attach it to the
open context before returning.
Fixes: 3efb9722475e ("NFSv4: Refactor _nfs4_open_and_get_state..")
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
