From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Timothy R. Chavez" Subject: Re: [PATCH 11/12: eCryptfs] Keystore Date: Fri, 4 Nov 2005 11:52:00 -0600 Message-ID: <200511041152.00540.tinytim@us.ibm.com> References: <20051103033220.GD2772@sshock.rn.byu.edu> <20051103035611.GK3005@sshock.rn.byu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, mike@halcrow.us, mhalcrow@us.ibm.com, mcthomps@us.ibm.com, yoder1@us.ibm.com Return-path: To: Phillip Hellewell In-Reply-To: <20051103035611.GK3005@sshock.rn.byu.edu> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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