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:
16204e9
)
- memory leak (mconf site and lu_device)
author
alex
<alex>
Mon, 23 Feb 2009 13:26:49 +0000
(13:26 +0000)
committer
alex
<alex>
Mon, 23 Feb 2009 13:26:49 +0000
(13:26 +0000)
lustre/obdclass/obd_mount.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obd_mount.c
b/lustre/obdclass/obd_mount.c
index
150e99a
..
ceb19b0
100644
(file)
--- a/
lustre/obdclass/obd_mount.c
+++ b/
lustre/obdclass/obd_mount.c
@@
-1117,6
+1117,9
@@
static void stop_temp_site(struct super_block *sb)
lu_env_fini(&env);
lsi->lsi_dt_dev->dd_lu_dev.ld_site = NULL;
+
+ OBD_FREE_PTR(site);
+ OBD_FREE_PTR(mdev);
}
/* Start targets */
@@
-1595,9
+1598,6
@@
static struct dt_device *server_kernel_mount(struct super_block *sb)
RETURN(lu2dt_dev(mdev->mcf_bottom));
-
-
-
/* In the past, we have always used flags = 0.
Note ext3/ldiskfs can't be mounted ro. */
s_flags = sb->s_flags;