Re: [RFC] pdirops: vfs patch

From: Alex Tomas
Date: Tue Feb 22 2005 - 08:28:44 EST


>>>>> Jan Blunck (JB) writes:

JB> i_sem does NOT protect the dcache. Also not in real_lookup(). The lock must be
JB> acquired for ->lookup() and because we might sleep on i_sem, we have to get it
JB> early and check for repopulation of the dcache.

dentry is part of dcache, right? i_sem protects dentry from being
returned with incomplete data inside, right?


thanks, Alex

-
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/