From: Yan Zheng Date: Mon, 8 Oct 2007 19:16:20 +0000 (-0700) Subject: AIO: fix cleanup in io_submit_one(...) X-Git-Tag: v2.6.23~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87e2831c3fa39cbf6f7ab676bb5aef039b9659e2;p=pandora-kernel.git AIO: fix cleanup in io_submit_one(...) When IOCB_FLAG_RESFD flag is set and iocb->aio_resfd is incorrect, statement 'goto out_put_req' is executed. At label 'out_put_req', aio_put_req(..) is called, which requires 'req->ki_filp' set. Signed-off-by: Yan Zheng Cc: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed