• 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
fs-writeback.c 18.6 KB