• Andrew Morton's avatar
    [PATCH] Fix writeback_inodes-vs-umount race · 3d48f700
    Andrew Morton authored
    Fix bug identified by Chris Mason.
    
    If writeback_inodes is left holding a ref on the superblock's last inode then
    the superblock list walk can race with umount and the superblock can be
    released.
    
    Take and put a ref against the superblock to fix that.
    3d48f700
super.c 18.7 KB