diff options
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index bbc911720d81..a005cebf5041 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -639,7 +639,7 @@ out: | |||
639 | xfs_unmountfs(mp, credp); | 639 | xfs_unmountfs(mp, credp); |
640 | xfs_qmops_put(mp); | 640 | xfs_qmops_put(mp); |
641 | xfs_dmops_put(mp); | 641 | xfs_dmops_put(mp); |
642 | kmem_free(mp, sizeof(xfs_mount_t)); | 642 | kmem_free(mp); |
643 | } | 643 | } |
644 | 644 | ||
645 | return XFS_ERROR(error); | 645 | return XFS_ERROR(error); |
@@ -1055,7 +1055,7 @@ xfs_sync_inodes( | |||
1055 | 1055 | ||
1056 | if (XFS_FORCED_SHUTDOWN(mp) && !(flags & SYNC_CLOSE)) { | 1056 | if (XFS_FORCED_SHUTDOWN(mp) && !(flags & SYNC_CLOSE)) { |
1057 | XFS_MOUNT_IUNLOCK(mp); | 1057 | XFS_MOUNT_IUNLOCK(mp); |
1058 | kmem_free(ipointer, sizeof(xfs_iptr_t)); | 1058 | kmem_free(ipointer); |
1059 | return 0; | 1059 | return 0; |
1060 | } | 1060 | } |
1061 | 1061 | ||
@@ -1201,7 +1201,7 @@ xfs_sync_inodes( | |||
1201 | } | 1201 | } |
1202 | XFS_MOUNT_IUNLOCK(mp); | 1202 | XFS_MOUNT_IUNLOCK(mp); |
1203 | ASSERT(ipointer_in == B_FALSE); | 1203 | ASSERT(ipointer_in == B_FALSE); |
1204 | kmem_free(ipointer, sizeof(xfs_iptr_t)); | 1204 | kmem_free(ipointer); |
1205 | return XFS_ERROR(error); | 1205 | return XFS_ERROR(error); |
1206 | } | 1206 | } |
1207 | 1207 | ||
@@ -1231,7 +1231,7 @@ xfs_sync_inodes( | |||
1231 | 1231 | ||
1232 | ASSERT(ipointer_in == B_FALSE); | 1232 | ASSERT(ipointer_in == B_FALSE); |
1233 | 1233 | ||
1234 | kmem_free(ipointer, sizeof(xfs_iptr_t)); | 1234 | kmem_free(ipointer); |
1235 | return XFS_ERROR(last_error); | 1235 | return XFS_ERROR(last_error); |
1236 | } | 1236 | } |
1237 | 1237 | ||