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

From: Alex Tomas
Date: Tue Jan 16 2007 - 17:09:06 EST


>>>>> 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()

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/