[Devel] [PATCH RHEL8 COMMIT] fuse: memory leakage
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Jun 21 12:57:16 MSK 2021
The commit is pushed to "branch-rh8-4.18.0-240.1.1.vz8.5.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-240.1.1.vz8.5.46
------>
commit 6de38fbb131c28f4e1d71ffaaf6856a9b3983013
Author: Alexey Kuznetsov <kuznet at acronis.com>
Date: Sun Jun 20 17:03:14 2021 +0000
fuse: memory leakage
Another consequence of pseudoimpovement in RHEL8.
From 702eb74cf38b3e945b92ebc0009db1038d272adb Mon Sep 17 00:00:00 2001
From: Alexey Kuznetsov <kuznet at virtuozzo.com>
Date: Sun, 20 Jun 2021 13:44:47 +0000
Subject: [RHEL8] fuse: memory leakage
Another consequence of pseudoimpovement in RHEL8.
Fixes: 776b93dd7993 ("fuse: ioctl(FIEMAP) support")
In the scope of https://jira.sw.ru/browse/PSBM-129289
Signed-off-by: Alexey Kuznetsov <kuznet at acronis.com>
---
fs/fuse/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index fb55c7968b48..0120ea3bc9e8 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -4000,6 +4000,7 @@ static int fuse_request_fiemap(struct inode *inode, u32 cur_max,
__free_page(ap.pages[allocated]);
ap.pages[allocated] = NULL;
}
+ kfree(ap.pages);
fuse_release_ff(inode, ff);
return err;
}
More information about the Devel
mailing list