diff options
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 3fe64a3a77a9..8c0e02279249 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -640,6 +640,7 @@ out: | |||
640 | * and free the super block buffer & mount structures. | 640 | * and free the super block buffer & mount structures. |
641 | */ | 641 | */ |
642 | xfs_unmountfs(mp, credp); | 642 | xfs_unmountfs(mp, credp); |
643 | kmem_free(mp, sizeof(xfs_mount_t)); | ||
643 | } | 644 | } |
644 | 645 | ||
645 | return XFS_ERROR(error); | 646 | return XFS_ERROR(error); |