Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2a42f78 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 <treding@nvidia.com>
Reviewed-by: default avatarMark Tinguely <tinguely@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>

(cherry picked from commit aaaae980)
parent 9b3b77fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
		}