diff options
author | Mandy Kirkconnell <alkirkco@sgi.com> | 2006-06-09 14:51:25 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 14:51:25 +1000 |
commit | fe6c1e7240e3a7cb600030f9c909273365d52a9d (patch) | |
tree | 26e55aea45e754fae8888ce16d0001544432fd29 | |
parent | 3f368a0d58cb8cadab298546286f94ca14220f65 (diff) | |
download | linux-3.10-fe6c1e7240e3a7cb600030f9c909273365d52a9d.tar.gz linux-3.10-fe6c1e7240e3a7cb600030f9c909273365d52a9d.tar.bz2 linux-3.10-fe6c1e7240e3a7cb600030f9c909273365d52a9d.zip |
[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>
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 020de5637e0..f5284453441 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -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; } |