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

2007-01-16 Thread Peter Staubach
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

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

2007-01-16 Thread Alex Tomas
> 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

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

2007-01-16 Thread Peter Staubach
Eric Sandeen wrote: An update from the earlier thread, [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race I think this is better than the original idea of trying to handle the race; I've seen that the orphan inode list can get corrupted, but there may well be other imp

[PATCH] return ENOENT from ext3_link when racing with unlink

2007-01-15 Thread Eric Sandeen
An update from the earlier thread, [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race I think this is better than the original idea of trying to handle the race; I've seen that the orphan inode list can get corrupted, but there may well be other implications of the race w