diff options
| author | Jeff Layton <[email protected]> | 2015-07-10 19:58:42 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2015-07-28 13:07:02 +0000 |
| commit | 3471648a7569512e10f154cdfe5076c341a5c099 (patch) | |
| tree | ebd3e8c3ddfa687b9d1e4c703440f4bcf2d3058a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | SUNRPC: Report TCP errors to the caller (diff) | |
| download | kernel-3471648a7569512e10f154cdfe5076c341a5c099.tar.gz kernel-3471648a7569512e10f154cdfe5076c341a5c099.zip | |
nfs: plug memory leak when ->prepare_layoutcommit fails
"data" is currently leaked when the prepare_layoutcommit operation
returns an error. Put the cred before taking the spinlock in that
case, take the lock and then goto out_unlock which will drop the
lock and then free "data".
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
