• Christoph Hellwig's avatar
    [PATCH] remove bad inodes from hash table · 22d3a67f
    Christoph Hellwig authored
    When testing the XFS 1.2 release we found a problem that was caused
    by inodes made unusable by make_bad_inode() still beeing returned by
    iget() and friends.  The workaround was to call remove_inode_hash()
    before each call to make_bad_inode().
    
    I think the proper fix is to let make_bad_inode() remove the inodes
    from the hash chains.
    22d3a67f
bad_inode.c 2.54 KB