ANDROID: Incremental fs: Free mount info after files are flushed

Bug: 177280103
Test: incfs_test passes
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: I24b0d4bf5353834900f868f65e7510529867b615
This commit is contained in:
Paul Lawrence
2021-01-12 11:01:42 -08:00
parent a31de8b2a5
commit 1f3a58dbb3

View File

@@ -1656,8 +1656,8 @@ void incfs_kill_sb(struct super_block *sb)
struct mount_info *mi = sb->s_fs_info;
pr_debug("incfs: unmount\n");
incfs_free_mount_info(mi);
generic_shutdown_super(sb);
incfs_free_mount_info(mi);
}
static int show_options(struct seq_file *m, struct dentry *root)