diff options
author | 2012-11-30 16:03:31 +0200 | |
---|---|---|
committer | 2012-12-14 12:17:32 +0200 | |
commit | 861d66601acda6d7a2038fb3c95f68009128003a (patch) | |
tree | 5d0c9ede684df2d9788bde18129354fe4736bcad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | exofs: clean up the correct page collection on write error (diff) | |
download | linux-dev-861d66601acda6d7a2038fb3c95f68009128003a.tar.xz linux-dev-861d66601acda6d7a2038fb3c95f68009128003a.zip |
exofs: don't leak io_state and pages on read error
Same bug as fixed by Idan for write_exec was in read_exec.
Fix the io_state leak and pages state on read error.
Also while at it:
The if (!pcol->read_4_write) at the error path is redundant
because all goto err; are after the if (pcol->read_4_write)
bale out.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions