lkml.org 
[lkml]   [2005]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 11/12: eCryptfs] Keystore
Date
On Wednesday 02 November 2005 21:56, Phillip Hellewell wrote:
> +static void wipe_auth_tok_list(struct list_head *auth_tok_list_head)
> +{
> + struct list_head *walker;
> + ecryptfs_printk(1, KERN_NOTICE, "Enter\n");
> + walker = auth_tok_list_head->next;
> + while (walker != auth_tok_list_head) {
> + struct ecryptfs_auth_tok_list_item *auth_tok_list_item;
> + auth_tok_list_item =
> + list_entry(walker, struct ecryptfs_auth_tok_list_item,
> + list);
> + walker = auth_tok_list_item->list.next;
> + ecryptfs_kmem_cache_free(ecryptfs_auth_tok_list_item_cache,
> + auth_tok_list_item);
> + }

list_for_each_entry_safe ??

-tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-04 18:50    [from the cache]
©2003-2011 Jasper Spaans