Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] some more fixes for inode.c | Date | Fri, 30 Jan 2004 14:55:12 +1100 |
| |
In message <Pine.LNX.4.44.0401200803150.15071-100000@chimarrao.boston.redhat.com> you write: > } > list_for_each(act_head, &inode_unused) { > + inode = list_entry(act_head, struct inode, i_list); > + if (inode->i_sb == sb && IS_QUOTAINIT(inode)) > + remove_inode_dquot_ref(inode, type, &tofree_head); > + } > + list_for_each(act_head, &inode_unused_pagecache) { > inode = list_entry(act_head, struct inode, i_list);
list_for_each_entry() perhaps?
It's in 2.4, as well.
Cheers, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/
| |