lkml.org 
[lkml]   [2004]   [Jun]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    DateTue, 29 Jun 2004 06:40:17 +0100
    From viro@parcelfa ...
    SubjectRe: Race in iput()?
    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/
    
    
    \
     
     \ /
      Last update: 2005-03-22 14:04    [from the cache]
    ©2003-2008