aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-10-01 10:47:53 -0400
committerBen Myers <bpm@sgi.com>2013-10-01 11:26:24 -0400
commitaaaae98022efa4f3c31042f1fdf9e7a0c5f04663 (patch)
treea1ed7dc62a4cfbc0fa6364046104f84e0d3efa10 /fs/xfs/xfs_log_recover.c
parent519ccb81ac1c8e3e4eed294acf93be00b43dcad6 (diff)
xfs: Use kmem_free() instead of free()
This fixes a build failure caused by calling the free() function which does not exist in the Linux kernel. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 43240583fd5b..39797490a1f1 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -1585,7 +1585,7 @@ xlog_recover_add_to_trans(
1585 "bad number of regions (%d) in inode log format", 1585 "bad number of regions (%d) in inode log format",
1586 in_f->ilf_size); 1586 in_f->ilf_size);
1587 ASSERT(0); 1587 ASSERT(0);
1588 free(ptr); 1588 kmem_free(ptr);
1589 return XFS_ERROR(EIO); 1589 return XFS_ERROR(EIO);
1590 } 1590 }
1591 1591