aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2008-05-19 02:31:57 -0400
committerNiv Sardi <xaiki@debian.org>2008-07-28 02:58:07 -0400
commitf0e2d93c29dc39ffd24cac180a19d48f700c0706 (patch)
tree5bfac66c6a5cda98373eea222834a37877a590f9 /fs/xfs/xfs_vfsops.c
parent7c12f296500e1157872ef45b3f3bb06b4b73f1c1 (diff)
[XFS] Remove unused arg from kmem_free()
kmem_free() function takes (ptr, size) arguments but doesn't actually use second one. This patch removes size argument from all callsites. SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31050a Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c8
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