[Ocfs2-commits] zab commits r2157 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 20 18:31:26 CDT 2005


Author: zab
Signed-off-by: manish
Date: 2005-04-20 18:31:24 -0500 (Wed, 20 Apr 2005)
New Revision: 2157

Modified:
   trunk/fs/ocfs2/aio.c
Log:
o drop the ref that cancel's caller gets so we don't leak iocbs

Signed-off-by: manish


Modified: trunk/fs/ocfs2/aio.c
===================================================================
--- trunk/fs/ocfs2/aio.c	2005-04-20 20:43:37 UTC (rev 2156)
+++ trunk/fs/ocfs2/aio.c	2005-04-20 23:31:24 UTC (rev 2157)
@@ -174,6 +174,7 @@
  * iocb without ki_cancel */ 
 static int ocfs2_ki_cancel(struct kiocb *iocb, struct io_event *ev)
 {
+	aio_put_req(iocb);
 	return -EAGAIN;
 }
 



More information about the Ocfs2-commits mailing list