Re: mark_inode_dirty question

From: Jani Monoses (jani@virtualro.ic.ro)
Date: Sat Dec 16 2000 - 09:35:40 EST


On Sat, 16 Dec 2000, Andrea Arcangeli wrote:

> On Sat, Dec 16, 2000 at 02:47:16PM +0200, Jani Monoses wrote:
> > mark_inode_dirty and mark_inode_dirty_sync .Could the i_state be changed
> > during the call (on another CPU)?
>
> no because you're protected by the inode_lock.
>
> Andrea
>

Thanks but
I meant between the moment the call from mark_* is made and the lock is
taken.I suppose it can be changed thus the double check in both caller and
callee.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:16 EST