Alex Tomas wrote: >>>>>> Eric Sandeen (ES) writes: > > ES> so I think it's possible that link can sneak in there & find it after > ES> the mutex is dropped...? Is this ok? :) It's certainly -happening- > ES> anyway.... > > yes, but it shouldn't allow to re-link such inode back, IMHO. > a filesystem may start some non-revertable activity in its > unlink method. > > thanks, Alex I tend to agree, chatting w/ Al I think he does too. :) I'll test a patch that kicks out ext3_link() with -ENOENT at the top, and resubmit that if things go well. -Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- From: Eric Sandeen <sandeen@redhat.com>
- Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- From: Alex Tomas <alex@clusterfs.com>
- Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- References:
- [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- From: Eric Sandeen <sandeen@redhat.com>
- Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- From: Alex Tomas <alex@clusterfs.com>
- Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- From: Eric Sandeen <sandeen@redhat.com>
- Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- From: Alex Tomas <alex@clusterfs.com>
- [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- Prev by Date: Re: Fwd: [PATCH] Fix some ARM builds due to HID brokenness
- Next by Date: Re: Fwd: [PATCH] Fix some ARM builds due to HID brokenness
- Previous by thread: Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- Next by thread: Re: [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race
- Index(es):
![]() |