Messages in this thread | | | Date | Mon, 2 Sep 2002 23:57:46 -0400 | Subject | Re: [BK-PATCH-2.5] Introduce new VFS inode cache lookup function | From | Jan Harkes <> |
| |
On Sat, Aug 31, 2002 at 07:00:04PM +0100, Anton Altaparmakov wrote: > Without such icache lookup functionality it is impossible to write inodes > via the VM page dirty code paths AFAICS. - The only alternative I can see > is to duplicate the whole icache private to NTFS so that I can perform the > lookup internally but I think that is silly considering the VFS already > keeps the inode cache...
Wouldn't you be able to use something like the following code to do ilookup?
Jan
static int dont_set(struct inode *inode, void *data) { return -1; }
struct inode *ilookup(struct super_block *sb, struct list_head *head, int (*test)(struct inode *, void *), void *data) { return iget5_locked(sb, head, test, dont_set, data); } - 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/
| |