Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc9bd5b
)
- fix false leak message
author
rread
<rread>
Thu, 22 Aug 2002 22:47:25 +0000
(22:47 +0000)
committer
rread
<rread>
Thu, 22 Aug 2002 22:47:25 +0000
(22:47 +0000)
lustre/llite/super.c
patch
|
blob
|
history
diff --git
a/lustre/llite/super.c
b/lustre/llite/super.c
index
01ec7c5
..
9ca0aaa
100644
(file)
--- a/
lustre/llite/super.c
+++ b/
lustre/llite/super.c
@@
-249,7
+249,9
@@
static void ll_clear_inode(struct inode *inode)
struct lov_stripe_md *md = lli->lli_smd;
if (md) {
- OBD_FREE(md, md->lmd_easize);
+ int size = sizeof(*md) +
+ md->lmd_stripe_count * sizeof(struct lov_oinfo);
+ OBD_FREE(md, size);
lli->lli_smd = NULL;
}
if (lli->lli_symlink_name) {