svn commit: r349473 - projects/fuse2/sys/fs/fuse
Alan Somers
asomers at FreeBSD.org
Thu Jun 27 22:24:58 UTC 2019
Author: asomers
Date: Thu Jun 27 22:24:56 2019
New Revision: 349473
URL: https://svnweb.freebsd.org/changeset/base/349473
Log:
fusefs: fix a memory leak regarding FUSE_INTERRUPT
We were leaking the fuse ticket if the original operation completed before
the daemon received the INTERRUPT operation. Fixing this was easier than I
expected.
Sponsored by: The FreeBSD Foundation
Modified:
projects/fuse2/sys/fs/fuse/fuse_device.c
Modified: projects/fuse2/sys/fs/fuse/fuse_device.c
==============================================================================
--- projects/fuse2/sys/fs/fuse/fuse_device.c Thu Jun 27 22:18:21 2019 (r349472)
+++ projects/fuse2/sys/fs/fuse/fuse_device.c Thu Jun 27 22:24:56 2019 (r349473)
@@ -473,6 +473,7 @@ fuse_device_write(struct cdev *dev, struct uio *uio, i
x_tick) {
if (itick->tk_unique == tick->irq_unique) {
fuse_aw_remove(itick);
+ fuse_ticket_drop(itick);
break;
}
}
More information about the svn-src-projects
mailing list