[XFS] Fix size argument in kmem_free().
SGI-PV: 952291 SGI-Modid: xfs-linux-melb:xfs-kern:209807a Signed-off-by: Mandy Kirkconnell <alkirkco@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
Родитель
3f368a0d58
Коммит
fe6c1e7240
|
@ -4181,7 +4181,7 @@ xfs_iext_direct_to_inline(
|
|||
*/
|
||||
memcpy(ifp->if_u2.if_inline_ext, ifp->if_u1.if_extents,
|
||||
nextents * sizeof(xfs_bmbt_rec_t));
|
||||
kmem_free(ifp->if_u1.if_extents, KM_SLEEP);
|
||||
kmem_free(ifp->if_u1.if_extents, ifp->if_real_bytes);
|
||||
ifp->if_u1.if_extents = ifp->if_u2.if_inline_ext;
|
||||
ifp->if_real_bytes = 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче