Re: Race in iput()?
viro_at_parcelfarce.linux.theplanet.co.uk
Date: 06/29/04
- Previous message: Kernel The: "RAW I/O"
- In reply to: Paul Menage: "Race in iput()?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 06:40:17 +0100 To: Paul Menage <menage@google.com>
On Mon, Jun 28, 2004 at 09:40:10PM -0700, Paul Menage wrote:
> Hi,
>
> Is the following sequence of events possible? If so, that would seem
> to be a bug.
>
> - inode on non-MS_ACTIVE superblock is on unused list (fs being unmounted?)
> - prune_icache() starts processing inode, so sets I_LOCK
> - in another thread, someone calls iget() then iput() on inode
Umm... What would that other thread be? MS_ACTIVE is removed upon the final
umount, all right, but that's done only when nobody except the filesystem
itself should be able to even see it...
-
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/
- Previous message: Kernel The: "RAW I/O"
- In reply to: Paul Menage: "Race in iput()?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|