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 committed by Alistair Delva
parent a3c935a490
commit 4994a7321f

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)