Re: [PATCH] return ENOENT from ext3_link when racing with unlink

From: Peter Staubach
Date: Tue Jan 16 2007 - 17:17:40 EST


Alex Tomas wrote:
Peter Staubach (PS) writes:


PS> Just out of curosity, what keeps i_nlink from going to 0 immediately
PS> after the new test is executed?

i_mutex in vfs_link() and vfs_unlink()

Ahhh... Okie doke, thanx!

ps

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