[DRBD-cvs] svn commit by lars - r2865 - branches/drbd-0.7/drbd -
fix bio leak when Diskless; was fixed during drbd 8.x d
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Fri Apr 27 13:05:25 CEST 2007
Author: lars
Date: 2007-04-27 13:05:23 +0200 (Fri, 27 Apr 2007)
New Revision: 2865
Modified:
branches/drbd-0.7/drbd/drbd_req.c
Log:
fix bio leak when Diskless; was fixed during drbd 8.x development, but not 'backported' to the 0.7 branch
Modified: branches/drbd-0.7/drbd/drbd_req.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_req.c 2007-04-24 09:34:47 UTC (rev 2864)
+++ branches/drbd-0.7/drbd/drbd_req.c 2007-04-27 11:05:23 UTC (rev 2865)
@@ -294,6 +294,8 @@
* local io stack.
*/
local = 0;
+ bio_put(req->private_bio);
+ req->private_bio = NULL;
dec_local(mdev);
}
}
More information about the drbd-cvs
mailing list