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)
"bad number of regions (%d) in inode log format",
in_f->ilf_size);
ASSERT(0);
- free(ptr);
+ kmem_free(ptr);
return XFS_ERROR(EIO);
}