X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fstaging%2Flustre%2Flustre%2Fosc%2Fosc_dev.c;h=048a5a5cf7f5e5ce360573bb46e31dfe364f1a8a;hb=4e1a6d2e2c3bb42aa28404d28ca636ee7dbd40a1;hp=5249e6689dfc74b6df32fc9efef3d98b997d7b40;hpb=add260430bcd57026bbf099404ab45b6e0ed57be;p=firefly-linux-kernel-4.4.55.git 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, struct lu_context_key *key, void *data) { struct osc_thread_info *info = data; + OBD_SLAB_FREE_PTR(info, osc_thread_kmem); } @@ -156,6 +157,7 @@ static void osc_session_fini(const struct lu_context *ctx, struct lu_context_key *key, void *data) { struct osc_session *info = data; + OBD_SLAB_FREE_PTR(info, osc_session_kmem); }