From 3b9fe10e46e06c8c442c07fd4d36181e1e28668f Mon Sep 17 00:00:00 2001 From: Steve Muckle Date: Mon, 28 Feb 2022 20:49:55 +0000 Subject: [PATCH] ANDROID: incremental-fs: remove spurious kfree() The reverts in commits 07630c80731a (Revert "ANDROID: incremental-fs: fix mount_fs issue") and 5db3e72c57d3 (Revert "ANDROID: incremental-fs: remove index and incomplete dir on umount") were applied out of order, resulting in a spurious call to kfree() being left over. Remove it. Bug: 218732047 Signed-off-by: Steve Muckle Change-Id: I6ae8d8a9775981a88d28e462b64b259bca905ffb --- fs/incfs/data_mgmt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/incfs/data_mgmt.c b/fs/incfs/data_mgmt.c index a383c5b5ad7f..fbab68a280d5 100644 --- a/fs/incfs/data_mgmt.c +++ b/fs/incfs/data_mgmt.c @@ -175,7 +175,6 @@ void incfs_free_mount_info(struct mount_info *mi) kfree(mi->pseudo_file_xattr[i].data); kfree(mi->mi_per_uid_read_timeouts); incfs_free_sysfs_node(mi->mi_sysfs_node); - kfree(mi->mi_options.sysfs_name); kfree(mi); }