projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f368a0
)
[XFS] Fix size argument in kmem_free().
author
Mandy Kirkconnell
<alkirkco@sgi.com>
Fri, 9 Jun 2006 04:51:25 +0000
(14:51 +1000)
committer
Nathan Scott
<nathans@sgi.com>
Fri, 9 Jun 2006 04:51:25 +0000
(14:51 +1000)
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>
fs/xfs/xfs_inode.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_inode.c
b/fs/xfs/xfs_inode.c
index 020de5637e0688d42c5b6c7e1870a326cf607e31..f5284453441bba587e8346f5c868bdae24b762f2 100644
(file)
--- 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;
}