aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2015-07-10 19:58:42 +0000
committerTrond Myklebust <[email protected]>2015-07-28 13:07:02 +0000
commit3471648a7569512e10f154cdfe5076c341a5c099 (patch)
treeebd3e8c3ddfa687b9d1e4c703440f4bcf2d3058a /tools/perf/scripts/python/sched-migration.py
parentSUNRPC: Report TCP errors to the caller (diff)
downloadkernel-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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions