Boaz Harrosh 861d66601a 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>
2012-12-14 12:17:32 +02:00
..
2009-03-31 19:44:38 +03:00
2011-03-31 11:26:23 -03:00
2012-07-14 16:34:47 +04:00
2011-10-24 17:15:33 -07:00
2012-10-09 23:33:38 -04:00
2009-06-21 17:53:47 +03:00