aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/lustre/lustre/osc/osc_dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/osc/osc_dev.c b/drivers/staging/lustre/lustre/osc/osc_dev.c
index 5249e6689dfc..048a5a5cf7f5 100644
--- a/drivers/staging/lustre/lustre/osc/osc_dev.c
+++ b/drivers/staging/lustre/lustre/osc/osc_dev.c
@@ -132,6 +132,7 @@ static void osc_key_fini(const struct lu_context *ctx,
132 struct lu_context_key *key, void *data) 132 struct lu_context_key *key, void *data)
133{ 133{
134 struct osc_thread_info *info = data; 134 struct osc_thread_info *info = data;
135
135 OBD_SLAB_FREE_PTR(info, osc_thread_kmem); 136 OBD_SLAB_FREE_PTR(info, osc_thread_kmem);
136} 137}
137 138
@@ -156,6 +157,7 @@ static void osc_session_fini(const struct lu_context *ctx,
156 struct lu_context_key *key, void *data) 157 struct lu_context_key *key, void *data)
157{ 158{
158 struct osc_session *info = data; 159 struct osc_session *info = data;
160
159 OBD_SLAB_FREE_PTR(info, osc_session_kmem); 161 OBD_SLAB_FREE_PTR(info, osc_session_kmem);
160} 162}
161 163