aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 020de5637e06..f5284453441b 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -4181,7 +4181,7 @@ xfs_iext_direct_to_inline(
4181 */ 4181 */
4182 memcpy(ifp->if_u2.if_inline_ext, ifp->if_u1.if_extents, 4182 memcpy(ifp->if_u2.if_inline_ext, ifp->if_u1.if_extents,
4183 nextents * sizeof(xfs_bmbt_rec_t)); 4183 nextents * sizeof(xfs_bmbt_rec_t));
4184 kmem_free(ifp->if_u1.if_extents, KM_SLEEP); 4184 kmem_free(ifp->if_u1.if_extents, ifp->if_real_bytes);
4185 ifp->if_u1.if_extents = ifp->if_u2.if_inline_ext; 4185 ifp->if_u1.if_extents = ifp->if_u2.if_inline_ext;
4186 ifp->if_real_bytes = 0; 4186 ifp->if_real_bytes = 0;
4187} 4187}