Re: [PATCH] some more fixes for inode.c

From: Rusty Russell
Date: Thu Jan 29 2004 - 23:04:39 EST


In message <Pine.LNX.4.44.0401200803150.15071-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/