projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b3b77f
)
xfs: Use kmem_free() instead of free()
author
Thierry Reding
<thierry.reding@gmail.com>
Tue, 1 Oct 2013 14:47:53 +0000
(16:47 +0200)
committer
Ben Myers
<bpm@sgi.com>
Fri, 4 Oct 2013 18:56:12 +0000
(13:56 -0500)
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
)
fs/xfs/xfs_log_recover.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_log_recover.c
b/fs/xfs/xfs_log_recover.c
index 43240583fd5b3d8d13b1594e2ca54f3204090d56..39797490a1f1996e3f92f51efb532f15a75da8fa 100644
(file)
--- 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);
}