[LinuxPPS] 8 Oct 19:58 - AIO: fix cleanup in io_submit_one(...)

linuxpps: Yan Zheng <> webmaster at enneenne.com
Fri Oct 19 19:30:09 CEST 2007


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   
  
fs/aio.c

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=87e2831c3fa39cbf6f7ab676bb5aef039b9659e2



More information about the LinuxPPS mailing list