Commit aaaae980 authored by Thierry Reding's avatar Thierry Reding Committed by Ben Myers
Browse files

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: default avatarThierry Reding <>
Reviewed-by: default avatarMark Tinguely <>
Signed-off-by: default avatarBen Myers <>
parent 519ccb81
...@@ -1585,7 +1585,7 @@ xlog_recover_add_to_trans( ...@@ -1585,7 +1585,7 @@ xlog_recover_add_to_trans(
"bad number of regions (%d) in inode log format", "bad number of regions (%d) in inode log format",
in_f->ilf_size); in_f->ilf_size);
free(ptr); kmem_free(ptr);
return XFS_ERROR(EIO); return XFS_ERROR(EIO);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment