Whamcloud - gitweb
b=18204
authoranserper <anserper>
Fri, 6 Mar 2009 12:01:28 +0000 (12:01 +0000)
committeranserper <anserper>
Fri, 6 Mar 2009 12:01:28 +0000 (12:01 +0000)
i=Johann Lombardi
i=Oleg Drokin

group_info was erroneously freed instead of just put

lustre/lvfs/upcall_cache.c

index 8894557..34579cb 100644 (file)
@@ -112,7 +112,7 @@ static struct upcall_cache_entry *alloc_entry(__u64 key)
 static void free_entry(struct upcall_cache_entry *entry)
 {
         if (entry->ue_group_info)
-                groups_free(entry->ue_group_info);
+                put_group_info(entry->ue_group_info);
         list_del(&entry->ue_hash);
         CDEBUG(D_OTHER, "destroy cache entry %p for key "LPU64"\n",
                entry, entry->ue_key);