diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2008-05-19 02:31:57 -0400 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 02:58:07 -0400 |
commit | f0e2d93c29dc39ffd24cac180a19d48f700c0706 (patch) | |
tree | 5bfac66c6a5cda98373eea222834a37877a590f9 /fs/xfs/xfs_itable.c | |
parent | 7c12f296500e1157872ef45b3f3bb06b4b73f1c1 (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_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 419de15aeb43..9a3ef9dcaeb9 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -257,7 +257,7 @@ xfs_bulkstat_one( | |||
257 | *ubused = error; | 257 | *ubused = error; |
258 | 258 | ||
259 | out_free: | 259 | out_free: |
260 | kmem_free(buf, sizeof(*buf)); | 260 | kmem_free(buf); |
261 | return error; | 261 | return error; |
262 | } | 262 | } |
263 | 263 | ||
@@ -708,7 +708,7 @@ xfs_bulkstat( | |||
708 | /* | 708 | /* |
709 | * Done, we're either out of filesystem or space to put the data. | 709 | * Done, we're either out of filesystem or space to put the data. |
710 | */ | 710 | */ |
711 | kmem_free(irbuf, irbsize); | 711 | kmem_free(irbuf); |
712 | *ubcountp = ubelem; | 712 | *ubcountp = ubelem; |
713 | /* | 713 | /* |
714 | * Found some inodes, return them now and return the error next time. | 714 | * Found some inodes, return them now and return the error next time. |
@@ -914,7 +914,7 @@ xfs_inumbers( | |||
914 | } | 914 | } |
915 | *lastino = XFS_AGINO_TO_INO(mp, agno, agino); | 915 | *lastino = XFS_AGINO_TO_INO(mp, agno, agino); |
916 | } | 916 | } |
917 | kmem_free(buffer, bcount * sizeof(*buffer)); | 917 | kmem_free(buffer); |
918 | if (cur) | 918 | if (cur) |
919 | xfs_btree_del_cursor(cur, (error ? XFS_BTREE_ERROR : | 919 | xfs_btree_del_cursor(cur, (error ? XFS_BTREE_ERROR : |
920 | XFS_BTREE_NOERROR)); | 920 | XFS_BTREE_NOERROR)); |