acrn-kernel/fs/exofs
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
..
BUGS
Kbuild
Kconfig
Kconfig.ore
common.h
dir.c
exofs.h
file.c
inode.c exofs: don't leak io_state and pages on read error 2012-12-14 12:17:32 +02:00
namei.c don't pass nameidata to ->create() 2012-07-14 16:34:47 +04:00
ore.c block: Add bio_clone_bioset(), bio_clone_kmalloc() 2012-09-09 10:35:39 +02:00
ore_raid.c ore: signedness bug in _sp2d_min_pg() 2012-10-03 13:51:51 -07:00
ore_raid.h
super.c exofs: drop lock/unlock super 2012-10-09 23:33:38 -04:00
symlink.c
sys.c exofs: check for allocation failure in uri_store() 2012-08-12 21:54:44 +03:00