summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_sync.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2012-11-30 14:03:31 (GMT)
committerBoaz Harrosh <bharrosh@panasas.com>2012-12-14 10:17:32 (GMT)
commit861d66601acda6d7a2038fb3c95f68009128003a (patch)
tree5d0c9ede684df2d9788bde18129354fe4736bcad /fs/xfs/xfs_sync.h
parentaf402ab2b0369c2b1acf4cde72c5ed5050c74e5b (diff)
downloadlinux-fsl-qoriq-861d66601acda6d7a2038fb3c95f68009128003a.tar.xz
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 'fs/xfs/xfs_sync.h')
0 files changed, 0 insertions, 0 deletions