summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-10-01 16:47:53 +0200
committerBen Myers <bpm@sgi.com>2013-10-04 13:56:12 -0500
commitb2a42f78ab475f4730300b0e9568bc3b2587d112 (patch)
treea1ed7dc62a4cfbc0fa6364046104f84e0d3efa10 /fs/xfs
parent9b3b77fe661875f19ed748b67fb1eeb57d602b7e (diff)
downloadlinux-b2a42f78ab475f4730300b0e9568bc3b2587d112.tar.bz2
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> (cherry picked from commit aaaae98022efa4f3c31042f1fdf9e7a0c5f04663)
Diffstat (limited to 'fs/xfs')
-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(
"bad number of regions (%d) in inode log format",
in_f->ilf_size);
ASSERT(0);
- free(ptr);
+ kmem_free(ptr);
return XFS_ERROR(EIO);
}