diff --git a/fs/incfs/vfs.c b/fs/incfs/vfs.c index 8bcf2f25d2a3..15fe5f9401d0 100644 --- a/fs/incfs/vfs.c +++ b/fs/incfs/vfs.c @@ -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)